C# Class Open.Core.Controls.Buttons.ButtonStyles

Provides common styles for buttons.
ファイルを表示 Open project: philcockfield/Open.TestHarness.SL

Public Methods

Method Description
Rounded ( int layer, ButtonView button ) : void

Adds a style for rounded corners.

SilverBackground ( int layer, ButtonView button, bool showForNormal ) : void

Adds a silver background to the given button.

Method Details

Rounded() public static method

Adds a style for rounded corners.
public static Rounded ( int layer, ButtonView button ) : void
layer int The layer to assign the content to (typically '0').
button ButtonView The button to effect.
return void

SilverBackground() public static method

Adds a silver background to the given button.
public static SilverBackground ( int layer, ButtonView button, bool showForNormal ) : void
layer int The layer to assign the content to (typically '0').
button ButtonView The button to effect.
showForNormal bool Flag indicating if the background should be visible for the default (normal) state.
return void