Name | Description | |
---|---|---|
OperationManager Constructor | Initializes a new instance of the OperationManager class. |
The following tables list the members exposed by OperationManager.
Name | Description | |
---|---|---|
OperationManager Constructor | Initializes a new instance of the OperationManager class. |
Name | Description | |
---|---|---|
CanRedo | Gets a boolean value after checking if the first operation can be redone. | |
CanUndo | Gets a boolean value after checking if the first operation can be undone. | |
RunningOperation | The Operation that is currently running. Automatically set and cleared by the system as operations are executed. |
Name | Description | |
---|---|---|
AddRedoOperation | Add the specified operation to the redo stack. | |
AddUndoOperation | Add the specified operation to the undo stack. | |
ClearRedoCategory | Removes all operations belonging to the specified category from redo stack. | |
ClearRedoSubCategory | Removes all operations belonging to the specified category from redo stack. | |
ClearUndoCategory | Removes all operations belonging to the specified category from undo stack. | |
ClearUndoSubCategory | Removes all operations belonging to the specified category and sub category from undo stack. | |
CreateCompositeOperation | Groups existing operations into a single composite operation. This method must be called on the primary worker thread. Use QueuedTask.Run. | |
Decrement | Decreases the operation count without reforming an operation. This API supports the Framework infrastructure and is not intended to be used directly from your code. | |
Do | Performs the specified operation synchronously and adds it to the undo stack. | |
DoAsync | Performs the specified operation asynchronously and adds it to the undo stack. | |
FindRedoOperations | Returns all the operations from the redo stack that match the conditions defined by the specified predicate. | |
FindUndoOperations | Returns all the operations from the undo stack that match the conditions defined by the specified predicate. | |
Increment | Increases the operation count without performing an operation. This API supports the Framework infrastructure and is not intended to be used directly from your code. | |
PeekRedo | Return the topmost operation of the given category in the native redo stack. | |
PeekUndo | Return the topmost operation of the given category in the native undo stack. | |
RedoAsync | Overloaded. | |
RemoveRedoOperation | Removes the specified operation from the redo stack. | |
RemoveUndoOperation | Removes the specified operation from the undo stack. | |
UndoAsync | Overloaded. |