C# Class OpenSyno.Behaviors.EnterKeyUpToCommandBehavior

ファイルを表示 Open project: salfab/open-syno

Public Properties

Property Type Description
CommandParameterProperty System.Windows.DependencyProperty
CommandProperty System.Windows.DependencyProperty
ControlToFocusAfterEnterProperty System.Windows.DependencyProperty
HideKeyboardAfterEnterProperty System.Windows.DependencyProperty

Public Methods

Method Description
GetCommand ( DependencyObject obj ) : ICommand
GetCommandParameter ( DependencyObject obj ) : object
GetControlToFocusAfterEnter ( DependencyObject obj ) : Control
GetHideKeyboardAfterEnter ( DependencyObject obj ) : bool
SetCommand ( DependencyObject obj, ICommand value ) : void
SetCommandParameter ( DependencyObject obj, object value ) : void
SetControlToFocusAfterEnter ( DependencyObject obj, Control value ) : void
SetHideKeyboardAfterEnter ( DependencyObject obj, bool value ) : void

Private Methods

Method Description
CommandPropertyChangedCallback ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
FilterEnterKeysAndForwardToCommand ( object sender, System.Windows.Input.KeyEventArgs e ) : void

Method Details

GetCommand() public static method

public static GetCommand ( DependencyObject obj ) : ICommand
obj System.Windows.DependencyObject
return ICommand

GetCommandParameter() public static method

public static GetCommandParameter ( DependencyObject obj ) : object
obj System.Windows.DependencyObject
return object

GetControlToFocusAfterEnter() public static method

public static GetControlToFocusAfterEnter ( DependencyObject obj ) : Control
obj System.Windows.DependencyObject
return System.Windows.Controls.Control

GetHideKeyboardAfterEnter() public static method

public static GetHideKeyboardAfterEnter ( DependencyObject obj ) : bool
obj System.Windows.DependencyObject
return bool

SetCommand() public static method

public static SetCommand ( DependencyObject obj, ICommand value ) : void
obj System.Windows.DependencyObject
value ICommand
return void

SetCommandParameter() public static method

public static SetCommandParameter ( DependencyObject obj, object value ) : void
obj System.Windows.DependencyObject
value object
return void

SetControlToFocusAfterEnter() public static method

public static SetControlToFocusAfterEnter ( DependencyObject obj, Control value ) : void
obj System.Windows.DependencyObject
value System.Windows.Controls.Control
return void

SetHideKeyboardAfterEnter() public static method

public static SetHideKeyboardAfterEnter ( DependencyObject obj, bool value ) : void
obj System.Windows.DependencyObject
value bool
return void

Property Details

CommandParameterProperty public_oe static_oe property

public static DependencyProperty,System.Windows CommandParameterProperty
return System.Windows.DependencyProperty

CommandProperty public_oe static_oe property

public static DependencyProperty,System.Windows CommandProperty
return System.Windows.DependencyProperty

ControlToFocusAfterEnterProperty public_oe static_oe property

public static DependencyProperty,System.Windows ControlToFocusAfterEnterProperty
return System.Windows.DependencyProperty

HideKeyboardAfterEnterProperty public_oe static_oe property

public static DependencyProperty,System.Windows HideKeyboardAfterEnterProperty
return System.Windows.DependencyProperty