Spread Windows Forms 9.0 Product Documentation
UndoRedoManager Class Members
Fields  Properties  Methods  Events


The following tables list the members exposed by UndoRedoManager.

Public Constructors
 NameDescription
Public ConstructorUndoRedoManager ConstructorCreates a new undo action manager.  
Top
Protected Fields
 NameDescription
Protected FieldactionPendingSpecifies whether an action is in progress (to prevent recursion).  
Protected FieldchartFpchart control which can be used to fire events when executing actions.  
Protected FieldmaxLengthSpecifies the maximum number of UndoAction objects to keep on the undo or redo stacks.  
Protected FieldredoListSpecifies the redo stack (last element is on top).  
Protected FieldundoListSpecifies the undo stack (last element is on top).  
Top
Public Properties
 NameDescription
Public PropertyCanRedoGets whether Redo manager can redo an action, which depends on redo list is empty or not.  
Public PropertyCanUndoGets whether Undo manager can undo an action, which depends on undo list is empty or not.  
Top
Public Methods
 NameDescription
Public MethodClearClears out current Undo and Redo stacks  
Public MethodPerformUndoActionPerforms the specified action (it can then be undone with Undo).  
Public MethodRedoOverloaded. Redoes the last action undone with Undo and adds it to the undo list.  
Public MethodUndoOverloaded. Undoes the last action done with PerformUndoAction and adds it to the redo list.  
Top
Protected Methods
 NameDescription
Protected MethodPopRedoPops the top action from the redo stack.  
Protected MethodPopUndoPops the top action from the undo stack.  
Protected MethodPushRedoPushes the specified action onto the redo stack.  
Protected MethodPushUndoPushes the specified action onto the undo stack.  
Top
Public Events
 NameDescription
Public EventActionCompleteOccurs when the undo or redo action is complete.  
Public EventActionPerformingOccurs when the undo or redo action is performing, users can cancel this action. Actions are cancelled are not added to the undo list.  
Public EventRedoCompleteOccurs when the redo action is complete.  
Public EventRedoPerformingOccurs 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 EventUndoCompleteOccurs when the undo action is complete.  
Public EventUndoPerformingOccurs 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

Reference

UndoRedoManager Class
FarPoint.Win.Chart Namespace

 

 


Copyright © GrapeCity, inc. All rights reserved.