canUndo property
True if there are actions that can be undone on the GeometryEditor.geometry, false otherwise.
This applies to both programmatic and interactive changes to the GeometryEditor.geometry and is useful for enabling or disabling a UI control for undo actions.
The value of GeometryEditor.canUndo changes, raising the GeometryEditor.onCanUndoChanged event, when:
- an initial action that can be undone is performed in the GeometryEditor, or
- the last remaining action that can be undone was undone
Implementation
bool get canUndo {
return _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_GeometryEditor_getCanUndo(
_handle,
errorHandler,
);
});
}