C# Class ServiceInsight.Framework.Behaviors.CommandParameterHelper

Show file Open project: Particular/ServiceInsight

Public Properties

Property Type Description
CommandParameterProperty System.Windows.DependencyProperty

Public Methods

Method Description
GetCommandParameter ( UIElement target ) : object
SetCommandParameter ( UIElement target, object value ) : void

Private Methods

Method Description
OnCommandParameterChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
SwapCommand ( dynamic commandHolder, object parameter ) : void

Method Details

GetCommandParameter() public static method

public static GetCommandParameter ( UIElement target ) : object
target UIElement
return object

SetCommandParameter() public static method

public static SetCommandParameter ( UIElement target, object value ) : void
target UIElement
value object
return void

Property Details

CommandParameterProperty public static property

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