C# 클래스 WinRTXamlToolkit.Controls.Extensions.ButtonStateEventBehavior

Handles ButtonStateEventBehavior.
상속: Windows.UI.Xaml.FrameworkElement
파일 보기 프로젝트 열기: xyzzer/WinRTXamlToolkit 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DownCommandParameterProperty Windows.UI.Xaml.DependencyProperty
DownCommandProperty Windows.UI.Xaml.DependencyProperty
IsPressedProperty Windows.UI.Xaml.DependencyProperty
UpCommandParameterProperty Windows.UI.Xaml.DependencyProperty
UpCommandProperty Windows.UI.Xaml.DependencyProperty

공개 메소드들

메소드 설명
Attach ( ButtonBase button ) : void

Attaches to the specified button.

Detach ( ) : void

Detaches this instance.

보호된 메소드들

메소드 설명
OnDown ( ) : void

Called when the button is pressed.

OnUp ( ) : void

Called when the button is released.

비공개 메소드들

메소드 설명
OnDownInternal ( ) : void
OnIsPressedChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the IsPressed property.

OnIsPressedChanged ( bool oldIsPressed, bool newIsPressed ) : void

Provides derived classes an opportunity to handle changes to the IsPressed property.

OnUpInternal ( ) : void

메소드 상세

Attach() 공개 메소드

Attaches to the specified button.
public Attach ( ButtonBase button ) : void
button Windows.UI.Xaml.Controls.Primitives.ButtonBase The button.
리턴 void

Detach() 공개 메소드

Detaches this instance.
public Detach ( ) : void
리턴 void

OnDown() 보호된 메소드

Called when the button is pressed.
protected OnDown ( ) : void
리턴 void

OnUp() 보호된 메소드

Called when the button is released.
protected OnUp ( ) : void
리턴 void

프로퍼티 상세

DownCommandParameterProperty 공개적으로 정적으로 프로퍼티

DownCommandParameter Dependency Property
public static DependencyProperty,Windows.UI.Xaml DownCommandParameterProperty
리턴 Windows.UI.Xaml.DependencyProperty

DownCommandProperty 공개적으로 정적으로 프로퍼티

DownCommand Dependency Property
public static DependencyProperty,Windows.UI.Xaml DownCommandProperty
리턴 Windows.UI.Xaml.DependencyProperty

IsPressedProperty 공개적으로 정적으로 프로퍼티

IsPressed Dependency Property
public static DependencyProperty,Windows.UI.Xaml IsPressedProperty
리턴 Windows.UI.Xaml.DependencyProperty

UpCommandParameterProperty 공개적으로 정적으로 프로퍼티

UpCommandParameter Dependency Property
public static DependencyProperty,Windows.UI.Xaml UpCommandParameterProperty
리턴 Windows.UI.Xaml.DependencyProperty

UpCommandProperty 공개적으로 정적으로 프로퍼티

UpCommand Dependency Property
public static DependencyProperty,Windows.UI.Xaml UpCommandProperty
리턴 Windows.UI.Xaml.DependencyProperty