C# Класс NanoByte.Common.Undo.MultiPropertyChangedCommand

An undo command that handles multiple changed properties - usually used with a PropertyGrid.
Наследование: PreExecutedCommand
Показать файл Открыть проект

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

Метод Описание
MultiPropertyChangedCommand ( [ targets, [ property, [ oldValues, object newValue ) : System

Initializes the command after the properties were first changed.

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

Метод Описание
OnRedo ( ) : void

Set the changed property value again.

OnUndo ( ) : void

Restore the original property values.

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

Метод Описание
MultiPropertyChangedCommand ( [ targets, [ gridItem, [ oldValues ) : System

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

MultiPropertyChangedCommand() публичный Метод

Initializes the command after the properties were first changed.
public MultiPropertyChangedCommand ( [ targets, [ property, [ oldValues, object newValue ) : System
targets [ The objects the property belongs to.
property [ The property that was changed.
oldValues [ The property's old values.
newValue object The property's current value.
Результат System

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

Set the changed property value again.
protected OnRedo ( ) : void
Результат void

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

Restore the original property values.
protected OnUndo ( ) : void
Результат void