C# Class DynamicXaml.MarkupSystem.FocusBehavior

Show file Open project: flq/XamlTags

Public Properties

Property Type Description
IsFocusedProperty System.Windows.DependencyProperty

Public Methods

Method Description
GetIsFocused ( DependencyObject element ) : bool?
SetIsFocused ( DependencyObject element, bool value ) : void

Private Methods

Method Description
FrameworkElementLoaded ( object sender, RoutedEventArgs e ) : void

Sets the focus when the framework element is loaded and ready to receive input.

IsFocusedChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Determines whether the value of the dependency property IsFocused has change.

Method Details

GetIsFocused() public static method

public static GetIsFocused ( DependencyObject element ) : bool?
element System.Windows.DependencyObject
return bool?

SetIsFocused() public static method

public static SetIsFocused ( DependencyObject element, bool value ) : void
element System.Windows.DependencyObject
value bool
return void

Property Details

IsFocusedProperty public static property

Dependency property to focus a frmework element. Will honor an implementation of IHandleFocus
public static DependencyProperty,System.Windows IsFocusedProperty
return System.Windows.DependencyProperty