Interface IUndoRedo
Represents to customizes the undo redo functionalities.
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
public interface IUndoRedo
Properties
State
Gets or sets state for UndoRedo.
Declaration
UndoRedoState State { get; set; }
Property Value
Methods
CanRedo(Object)
Specifies a method to perform redo operation.
Declaration
bool CanRedo(object data)
Parameters
Type |
Name |
Description |
System.Object |
data |
|
Returns
Type |
Description |
System.Boolean |
Returns true, when the state as idle in redo operation. Otherwise, false.
|
CanUndo(Object)
Specifies a method to perform undo operation.
Declaration
bool CanUndo(object data)
Parameters
Type |
Name |
Description |
System.Object |
data |
|
Returns
Type |
Description |
System.Boolean |
Returns true, when the state as idle in undo operation. Otherwise, false.
|
Redo(Object)
Specifies a method to invoke when perform redo operation.
Declaration
Parameters
Type |
Name |
Description |
System.Object |
data |
|
Returns
Undo(Object)
Specifies a method to invoke when perform undo operation.
Declaration
Parameters
Type |
Name |
Description |
System.Object |
data |
|
Returns