Spread Silverlight Documentation
UndoManager Constructor


GrapeCity.Windows.SpreadSheet.UI Namespace > UndoManager Class : UndoManager Constructor
The context of the UndoManager class.
The maximum level of the actions that can be undone.
if set to true allow undo; otherwise, do not allow undo.
Initializes a new instance of the UndoManager class.
Syntax
'Declaration
 
Public Function New( _
   ByVal context As System.Object, _
   ByVal maxLength As System.Integer, _
   ByVal allowUndo As System.Boolean _
)
'Usage
 
Dim context As System.Object
Dim maxLength As System.Integer
Dim allowUndo As System.Boolean
 
Dim instance As New UndoManager(context, maxLength, allowUndo)
public UndoManager( 
   System.object context,
   System.int maxLength,
   System.bool allowUndo
)

Parameters

context
The context of the UndoManager class.
maxLength
The maximum level of the actions that can be undone.
allowUndo
if set to true allow undo; otherwise, do not allow undo.
Remarks
-1 indicates the maximum level is unlimited.
See Also

Reference

UndoManager Class
UndoManager Members