GoDiagram Web Reference
MaximumEditCount Property

Gets or sets the maximum number of compound edits that this undo manager will remember.
Syntax
'Declaration
 
Public Property MaximumEditCount As Integer
public int MaximumEditCount {get; set;}

Property Value

If the value is negative, no limit is assumed. A new value of zero is treated as if the new value were one. The initial value is -1.
Remarks

This property is useful in helping limit the memory consumption of typical application usage. But note that this only limits the number of compound edits, not the size of any individual GoUndoManagerCompoundEdit, which may still have an unlimited number of GoChangedEventArgss.

Decreasing this value will not necessarily remove any existing edits if there currently exist more edits in AllEdits than the new value would allow.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoUndoManager Class
GoUndoManager Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback