C# Класс Open.Core.Controls.Buttons.ButtonStyles

Provides common styles for buttons.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

Rounded() публичный статический Метод

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.
Результат void

SilverBackground() публичный статический Метод

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.
Результат void