C# Class OpenSyno.Behaviors.ButtonClickToCommandBehavior

Mostra file Open project: salfab/open-syno

Public Properties

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

Public Methods

Method Description
GetCommand ( DependencyObject obj ) : ICommand
GetCommandParameter ( DependencyObject obj ) : object
SetCommand ( DependencyObject obj, ICommand value ) : void
SetCommandParameter ( DependencyObject obj, object value ) : void

Private Methods

Method Description
CommandCaller ( object sender, RoutedEventArgs e ) : void
CommandPropertyChangedCallback ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs 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

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

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