Drawing3d documented Class Library

TaskCtrl.CommitItem Members

TaskCtrl.CommitItem overview

Public Instance Constructors

TaskCtrl.CommitItem Constructor Constructor of the CommitItem.

Public Instance Fields

ConnectWithNext Sometimes it is required to call two Commits, which should be andled in one ReDo-call. In this cas you can use CommitBegin and CommitEnd. In the CommitItem the ConnectWithNext is set to true if a further Commit will occurs. CommitBegin(); Commit(UD_AddCustomer, "Add Customer", new UndoData(id,Result)); Commit(UD_CheckDependencies,"Check dependencies",new UndoData(id,Result)); CommitEnd(); In this code the UD_CheckDependenciesCommit will be inserted before the UD_AddCustomer Commit and has a ConnectWithNext = true
Data Holds the Data, which is used in the call of Commit
id Holds the ID, which is used in the call of Commit
Task Holds the task, which has called Commit
Text Contains the text, which can be used to display a list of Undos or redos.

Public Instance Methods

Equals (inherited from Object) 
GetHashCode (inherited from Object) 
GetType (inherited from Object) 
ToString (inherited from Object) 

Protected Instance Methods

Finalize (inherited from Object) 
MemberwiseClone (inherited from Object) 

See Also

CommitItem Class | Drawing3d Namespace