Interface IHistoryManager
Namespace: Syncfusion.Windows.Forms
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public interface IHistoryManager
Methods
BeginBlock()
Begins block of commands.
Declaration
void BeginBlock()
CloseBlock()
Closes block of commands.
Declaration
void CloseBlock()
Do(ICommand)
Adds command to the history list.
Declaration
void Do(ICommand cmd)
Parameters
Type | Name | Description |
---|---|---|
ICommand | cmd | Command to add. |
Redo()
Performs Redo operation.
Declaration
bool Redo()
Returns
Type | Description |
---|---|
System.Boolean | True if successful; false otherwise. |
Reset()
Resets history.
Declaration
void Reset()
RollBack()
Rolls back last non-closed block.
Declaration
void RollBack()
Undo()
Performs UnDo operation.
Declaration
bool Undo()
Returns
Type | Description |
---|---|
System.Boolean | True if successful; false otherwise. |