C# 클래스 NanoByte.Common.Undo.MultiPropertyChangedCommand

An undo command that handles multiple changed properties - usually used with a PropertyGrid.
상속: PreExecutedCommand
파일 보기 프로젝트 열기: nano-byte/common

공개 메소드들

메소드 설명
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