C# Class MVVMUndoRedo.CreateCommandContext

Afficher le fichier Open project: danice/MVVMUndoRedo

Méthodes publiques

Свойство Type Description
ContextProperty System.Windows.DependencyProperty

Méthodes publiques

Méthode Description
GetContext ( UIElement element ) : ICommandContext
SetContext ( UIElement element, ICommandContext commandContext ) : void

Private Methods

Méthode Description
OnCommandInvalidated ( DependencyObject dependencyObject, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Callback when the Command property is set or changed.

Method Details

GetContext() public static méthode

public static GetContext ( UIElement element ) : ICommandContext
element System.Windows.UIElement
Résultat ICommandContext

SetContext() public static méthode

public static SetContext ( UIElement element, ICommandContext commandContext ) : void
element System.Windows.UIElement
commandContext ICommandContext
Résultat void

Property Details

ContextProperty public_oe static_oe property

public static DependencyProperty,System.Windows ContextProperty
Résultat System.Windows.DependencyProperty