Spread Silverlight Documentation
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.
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

UndoManager Class
UndoManager Members

 

 


Copyright © GrapeCity, inc. All rights reserved.