Indicates if last bitmap modification can be undone.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Overridable ReadOnly Property CanUndo As Boolean
public virtual bool CanUndo { get; }
Graphics Mill for .NET has internal bitmap changes stack. If current position of this stack is a stack bottom, no actions to undo are available and this property returns false. If you try to call Undo() method, you will get an exception. If the current stack position is above of the stack bottom, this property returns true and you can call Undo() method to revert the bitmap state.
If undo/redo functionality is disabled (when UndoRedoEnabled is set to false), this property always returns false.