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

Provides common styles for buttons.
Afficher le fichier Open project: philcockfield/Open.TestHarness.SL

Méthodes publiques

Méthode 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 méthode

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.
Résultat void

SilverBackground() public static méthode

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.
Résultat void