C# 클래스 LinqTwit.Infrastructure.FocusBehavior

상속: System.Windows.DependencyObject
파일 보기 프로젝트 열기: ArildF/linqtwit

공개 프로퍼티들

프로퍼티 타입 설명
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