Spread Windows Forms 17
FarPoint.Win.Chart Assembly / FarPoint.Win.Chart Namespace / UndoRedoManager Class
Fields Properties Methods Events


In This Topic
    UndoRedoManager Class Members
    In This Topic

    The following tables list the members exposed by UndoRedoManager.

    Public Constructors
     NameDescription
    Public ConstructorCreates a new undo action manager.  
    Top
    Protected Fields
     NameDescription
    Protected FieldSpecifies whether an action is in progress (to prevent recursion).  
    Protected FieldFpchart control which can be used to fire events when executing actions.  
    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).  
    Top
    Public Properties
     NameDescription
    Public PropertyGets whether Redo manager can redo an action, which depends on redo list is empty or not.  
    Public PropertyGets whether Undo manager can undo an action, which depends on undo list is empty or not.  
    Top
    Public Methods
     NameDescription
    Public MethodClears out current Undo and Redo stacks  
    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 undo or redo action is performing, users can cancel this action. Actions are cancelled are not added to the undo list.  
    Public EventOccurs when the redo action is complete.  
    Public EventOccurs when the redo action is performing, user can cancel this redo action. Cancelled redo action are not added to undo list and are not removed from redo list.  
    Public EventOccurs when the undo action is complete.  
    Public EventOccurs when the undo action is performing, user can cancel this undo action. Cancelled undo action are not added to redo list and are not removed from undo list.  
    Top
    See Also