GoXam for WPF v3
CommitTransaction Method (DiagramModel)
Northwoods.GoXam.Model Namespace > DiagramModel Class : CommitTransaction Method
a String describing the transaction
Call the UndoManager's CommitTransaction method.
Syntax
public bool CommitTransaction( 
   string tname
)

Parameters

tname
a String describing the transaction

Return Value

the value of the call to CommitTransaction
Remarks
UndoManager.CommitTransaction will raise a Changed event with a hint of ModelChange.CommittedTransaction, and with a ModelChangedEventArgs.Data that is the UndoManager.CompoundEdit that was the value of UndoManager.CurrentEdit before calling UndoManager.CommitTransaction.
See Also

Reference

DiagramModel Class
DiagramModel Members
StartTransaction Method
RollbackTransaction Method