Click or drag to resize
DigitalRuneUndoBufferSizeLimit Property
Gets or sets the max number of undo steps stored in the undo buffer.

Namespace: DigitalRune.Undo
Assembly: DigitalRune (in DigitalRune.dll) Version: 1.20.0.0 (1.20.1.14552)
Syntax
public int SizeLimit { get; set; }

Property Value

Type: Int32
The max number of undo steps stored in the undo buffer. The default value is MaxValue.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionvalue is negative.
Remarks
Multiple operations grouped in an undo group by using BeginUndoGroup/EndUndoGroup(Object) count as a single undo step.
See Also