C# 클래스 ParallaxSplitView.Behaviors.TiltBehavior

상속: Microsoft.Xaml.Interactivity.Behavior
파일 보기 프로젝트 열기: juanpaexpedite/MasterDetailsComposition

보호된 메소드들

메소드 설명
OnAttached ( ) : void

Called when the behavior is attached to a control.

OnDetaching ( ) : void

Called when the behavior is detached.

비공개 메소드들

메소드 설명
ApplyTiltEffect ( Windows e ) : void

Applies tilt effect on the control.

ResetTiltEffect ( ) : void

Resets the values set by the tilt effect - just the rotation angle.

UiElement_PointerCanceled ( object sender, Windows e ) : void

The pointer contact has been canceled, reset the tilt effect.

UiElement_PointerExited ( object sender, Windows e ) : void

The pointer has exited the bounds of the control, reset the tilt effect.

UiElement_PointerMoved ( object sender, Windows e ) : void

The pointer has been moved on top of the control - check if it's pressed and act accordingly.

UiElement_PointerPressed ( object sender, Windows e ) : void

The pointer has been pressed on top of the control, apply tilt effect.

UiElement_PointerReleased ( object sender, Windows e ) : void

The pointer has been released on top of the control, reset the tilt effect.

메소드 상세

OnAttached() 보호된 메소드

Called when the behavior is attached to a control.
protected OnAttached ( ) : void
리턴 void

OnDetaching() 보호된 메소드

Called when the behavior is detached.
protected OnDetaching ( ) : void
리턴 void