C# Класс LinqTwit.Infrastructure.FocusBehavior

Наследование: System.Windows.DependencyObject
Показать файл Открыть проект

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

Свойство Тип Описание
BindableFocusProperty System.Windows.DependencyProperty
FocusFirstElementOnLoadedProperty System.Windows.DependencyProperty

Открытые методы

Метод Описание
GetBindableFocus ( UIElement obj ) : bool
GetFocusFirstElementOnLoaded ( DependencyObject obj ) : bool
SetBindableFocus ( UIElement obj, bool value ) : void
SetFocusFirstElementOnLoaded ( DependencyObject obj, bool value ) : void

Приватные методы

Метод Описание
BindableFocusChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
FocusElement ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
FocusFirstElementOnLoaded ( object sender, RoutedEventArgs args ) : void
FocusFirstElementOnLoadedPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Handles changes on the FocusFirstElementOnLoadedProperty dependency property. As WPF internally uses the dependency property system and bypasses the FocusFirstElement property wrapper, updates should be handled here.

GotKeyboardFocus ( object sender, System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void
HookEvents ( UIElement c ) : void
LostKeyboardFocus ( object sender, System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void

Описание методов

GetBindableFocus() публичный статический Метод

public static GetBindableFocus ( UIElement obj ) : bool
obj System.Windows.UIElement
Результат bool

GetFocusFirstElementOnLoaded() публичный статический Метод

public static GetFocusFirstElementOnLoaded ( DependencyObject obj ) : bool
obj System.Windows.DependencyObject
Результат bool

SetBindableFocus() публичный статический Метод

public static SetBindableFocus ( UIElement obj, bool value ) : void
obj System.Windows.UIElement
value bool
Результат void

SetFocusFirstElementOnLoaded() публичный статический Метод

public static SetFocusFirstElementOnLoaded ( DependencyObject obj, bool value ) : void
obj System.Windows.DependencyObject
value bool
Результат void

Описание свойств

BindableFocusProperty публичное статическое свойство

Command Dependency Property.
public static DependencyProperty,System.Windows BindableFocusProperty
Результат System.Windows.DependencyProperty

FocusFirstElementOnLoadedProperty публичное статическое свойство

public static DependencyProperty,System.Windows FocusFirstElementOnLoadedProperty
Результат System.Windows.DependencyProperty