Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.UndoRedo Namespace / UndoManager Class
Fields Properties Methods Events


In This Topic
    UndoManager Class Members
    In This Topic

    The following tables list the members exposed by UndoManager.

    Public Constructors
     NameDescription
    Public ConstructorCreates a new undo action manager.  
    Top
    Protected Fields
     NameDescription
    Protected FieldSpecifies whether the pending action has been cancelled.  
    Protected FieldSpecifies whether actionInProcess is being redone  
    Protected FieldSpecifies whether actionInProcess is being undone  
    Protected FieldSpecifies whether an action is in progress (to prevent recursion).  
    Protected FieldSpecifies the maximum number of UndoAction objects to keep on the undo or redo stacks.  
    Protected FieldSpecifies the redo stack (last element is on top).  
    Protected FieldSpecifies the undo stack (last element is on top).  
    Protected FieldSpecifies the view passed to the constructor.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets whether Redo can redo an action.  
    Public PropertyGets whether Undo can undo an action.  
    Public PropertyGets the list of UndoAction objects.  
    Public PropertyGets the list of UndoAction objects.  
    Top
    Public Methods
     NameDescription
    Public MethodCancels the current action in progress.  
    Public MethodOverloaded. Executes the specified command.  
    Public MethodGets the current UndoAction pending completion.  
    Public MethodPerforms the specified action (it can then be undone with Undo).  
    Public MethodOverloaded. Redoes the last action undone with Undo and adds it to the undo list.  
    Public MethodOverloaded. Undoes the last action done with PerformUndoAction and adds it to the redo list.  
    Top
    Protected Methods
     NameDescription
    Protected MethodPops the top action from the redo stack.  
    Protected MethodPops the top action from the undo stack.  
    Protected MethodPushes the specified action onto the redo stack.  
    Protected MethodPushes the specified action onto the undo stack.  
    Top
    Public Events
     NameDescription
    Public EventOccurs when the undo or redo action is complete.  
    Public EventOccurs when the redo action is complete.  
    Public EventOccurs when the undo action is complete.  
    Top
    See Also