C# 클래스 WaveEngine.Components.UI.Button

Button decorate class
상속: UIBase
파일 보기 프로젝트 열기: WaveEngine/Components 1 사용 예제들

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