Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.UndoRedo Namespace / UndoManager Class / UndoManager Constructor
View
Maximum number of actions to remember for undo or redo, or -1 for no limit


In This Topic
    UndoManager Constructor
    In This Topic
    Creates a new undo action manager.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal spreadView As SpreadView, _
       ByVal maxLength As Integer _
    )
    'Usage
     
    
    Dim spreadView As SpreadView
    Dim maxLength As Integer
     
    Dim instance As New UndoManager(spreadView, maxLength)
    public UndoManager( 
       SpreadView spreadView,
       int maxLength
    )

    Parameters

    spreadView
    View
    maxLength
    Maximum number of actions to remember for undo or redo, or -1 for no limit
    See Also