C# Класс Catel.Windows.Interactivity.FocusOnKeyPress

Behavior to set the focus on a key press.
Наследование: FocusBehaviorBase
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
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