C# Class AttachedCommandBehavior.BehaviorBinding

Defines a Command Binding This inherits from freezable so that it gets inheritance context for DataBinding to work
Inheritance: System.Windows.Freezable
Datei anzeigen Open project: dotob/moni

Public Properties

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

Private Properties

Property Type Description
OnActionChanged void
OnCommandChanged void
OnCommandParameterChanged void
OnEventChanged void
OwnerReset void
ResetEventBinding void

Protected Methods

Method Description
CreateInstanceCore ( ) : System.Windows.Freezable

This is not actually used. This is just a trick so that this object gets WPF Inheritance Context

OnActionChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void

Provides derived classes an opportunity to handle changes to the Action property.

OnCommandChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void

Provides derived classes an opportunity to handle changes to the Command property.

OnCommandParameterChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void

Provides derived classes an opportunity to handle changes to the CommandParameter property.

OnEventChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void

Provides derived classes an opportunity to handle changes to the Event property.

Private Methods

Method Description
OnActionChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Handles changes to the Action property.

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

Handles changes to the Command property.

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

Handles changes to the CommandParameter property.

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

Handles changes to the Event property.

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

Method Details

CreateInstanceCore() protected method

This is not actually used. This is just a trick so that this object gets WPF Inheritance Context
protected CreateInstanceCore ( ) : System.Windows.Freezable
return System.Windows.Freezable

OnActionChanged() protected method

Provides derived classes an opportunity to handle changes to the Action property.
protected OnActionChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
e System.Windows.DependencyPropertyChangedEventArgs
return void

OnCommandChanged() protected method

Provides derived classes an opportunity to handle changes to the Command property.
protected OnCommandChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
e System.Windows.DependencyPropertyChangedEventArgs
return void

OnCommandParameterChanged() protected method

Provides derived classes an opportunity to handle changes to the CommandParameter property.
protected OnCommandParameterChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
e System.Windows.DependencyPropertyChangedEventArgs
return void

OnEventChanged() protected method

Provides derived classes an opportunity to handle changes to the Event property.
protected OnEventChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
e System.Windows.DependencyPropertyChangedEventArgs
return void

Property Details

ActionProperty public_oe static_oe property

Action Dependency Property
public static DependencyProperty,System.Windows ActionProperty
return System.Windows.DependencyProperty

CommandParameterProperty public_oe static_oe property

CommandParameter Dependency Property
public static DependencyProperty,System.Windows CommandParameterProperty
return System.Windows.DependencyProperty

CommandProperty public_oe static_oe property

Command Dependency Property
public static DependencyProperty,System.Windows CommandProperty
return System.Windows.DependencyProperty

EventProperty public_oe static_oe property

Event Dependency Property
public static DependencyProperty,System.Windows EventProperty
return System.Windows.DependencyProperty