C# Класс AttachedCommandBehavior.BehaviorBinding

Defines a Command Binding This inherits from freezable so that it gets inheritance context for DataBinding to work
Наследование: System.Windows.Freezable
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
ActionProperty System.Windows.DependencyProperty
CommandParameterProperty System.Windows.DependencyProperty
CommandProperty System.Windows.DependencyProperty
EventProperty System.Windows.DependencyProperty

Private Properties

Свойство Тип Описание
OnActionChanged void
OnCommandChanged void
OnCommandParameterChanged void
OnEventChanged void
OwnerReset void
ResetEventBinding void

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

CreateInstanceCore() защищенный Метод

This is not actually used. This is just a trick so that this object gets WPF Inheritance Context
protected CreateInstanceCore ( ) : System.Windows.Freezable
Результат System.Windows.Freezable

OnActionChanged() защищенный Метод

Provides derived classes an opportunity to handle changes to the Action property.
protected OnActionChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
e System.Windows.DependencyPropertyChangedEventArgs
Результат void

OnCommandChanged() защищенный Метод

Provides derived classes an opportunity to handle changes to the Command property.
protected OnCommandChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
e System.Windows.DependencyPropertyChangedEventArgs
Результат void

OnCommandParameterChanged() защищенный Метод

Provides derived classes an opportunity to handle changes to the CommandParameter property.
protected OnCommandParameterChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
e System.Windows.DependencyPropertyChangedEventArgs
Результат void

OnEventChanged() защищенный Метод

Provides derived classes an opportunity to handle changes to the Event property.
protected OnEventChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
e System.Windows.DependencyPropertyChangedEventArgs
Результат void

Описание свойств

ActionProperty публичное статическое свойство

Action Dependency Property
public static DependencyProperty,System.Windows ActionProperty
Результат System.Windows.DependencyProperty

CommandParameterProperty публичное статическое свойство

CommandParameter Dependency Property
public static DependencyProperty,System.Windows CommandParameterProperty
Результат System.Windows.DependencyProperty

CommandProperty публичное статическое свойство

Command Dependency Property
public static DependencyProperty,System.Windows CommandProperty
Результат System.Windows.DependencyProperty

EventProperty публичное статическое свойство

Event Dependency Property
public static DependencyProperty,System.Windows EventProperty
Результат System.Windows.DependencyProperty