C# 클래스 Catel.Windows.Interactivity.FocusOnKeyPress

Behavior to set the focus on a key press.
상속: FocusBehaviorBase
파일 보기 프로젝트 열기: Catel/Catel

공개 프로퍼티들

프로퍼티 타입 설명
KeyProperty System.Windows.DependencyProperty
ModifiersProperty System.Windows.DependencyProperty

공개 메소드들

메소드 설명
FocusOnKeyPress ( ) : global::Windows.UI.Core

Initializes a new instance of the FocusOnKeyPress class.

보호된 메소드들

메소드 설명
OnAssociatedObjectLoaded ( ) : void

Called when the Behavior{T}.AssociatedObject is loaded.

OnAssociatedObjectUnloaded ( ) : void

Called when the Behavior{T}.AssociatedObject is unloaded.

비공개 메소드들

메소드 설명
OnKeyDown ( object sender, global::Windows.UI.Xaml.Input.KeyRoutedEventArgs e ) : void

Called when the specified key is pressed.

Subscribe ( ) : void
Unsubscribe ( ) : void

메소드 상세

FocusOnKeyPress() 공개 메소드

Initializes a new instance of the FocusOnKeyPress class.
public FocusOnKeyPress ( ) : global::Windows.UI.Core
리턴 global::Windows.UI.Core

OnAssociatedObjectLoaded() 보호된 메소드

Called when the Behavior{T}.AssociatedObject is loaded.
protected OnAssociatedObjectLoaded ( ) : void
리턴 void

OnAssociatedObjectUnloaded() 보호된 메소드

Called when the Behavior{T}.AssociatedObject is unloaded.
protected OnAssociatedObjectUnloaded ( ) : void
리턴 void

프로퍼티 상세

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

Using a DependencyProperty as the backing store for Key. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows KeyProperty
리턴 System.Windows.DependencyProperty

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

Using a DependencyProperty as the backing store for Modifiers. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows ModifiersProperty
리턴 System.Windows.DependencyProperty