C# Класс WaveEngine.Components.UI.Button

Button decorate class
Наследование: UIBase
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
ChangeBackgroundImage void
Entity_EntityInitialized void
TouchGestures_TouchPressed void
TouchGestures_TouchReleased void

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

Метод Описание
Button ( ) : System

Initializes a new instance of the Button class.

Button ( string name ) : System

Initializes a new instance of the Button class.

Приватные методы

Метод Описание
ChangeBackgroundImage ( string imagePath ) : void

Modifies the background image with the new asset path.

Entity_EntityInitialized ( object sender, EventArgs e ) : void

Handles the EntityInitialized event of the entity control.

TouchGestures_TouchPressed ( object sender, GestureEventArgs e ) : void

If a pressed background image is set, it draws this last one instead of background image, just up to the released event is catched.

TouchGestures_TouchReleased ( object sender, GestureEventArgs e ) : void

Handles the TouchReleased event of the Button control.

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

Button() публичный Метод

Initializes a new instance of the Button class.
public Button ( ) : System
Результат System

Button() публичный Метод

Initializes a new instance of the Button class.
public Button ( string name ) : System
name string The name.
Результат System