C# Класс MVVMUndoRedo.CreateCommandContext

Показать файл Открыть проект

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

Свойство Тип Описание
ContextProperty System.Windows.DependencyProperty

Открытые методы

Метод Описание
GetContext ( UIElement element ) : ICommandContext
SetContext ( UIElement element, ICommandContext commandContext ) : void

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

Метод Описание
OnCommandInvalidated ( DependencyObject dependencyObject, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Callback when the Command property is set or changed.

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

GetContext() публичный статический Метод

public static GetContext ( UIElement element ) : ICommandContext
element System.Windows.UIElement
Результат ICommandContext

SetContext() публичный статический Метод

public static SetContext ( UIElement element, ICommandContext commandContext ) : void
element System.Windows.UIElement
commandContext ICommandContext
Результат void

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

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

public static DependencyProperty,System.Windows ContextProperty
Результат System.Windows.DependencyProperty