Show / Hide Table of Contents

Property CanUndo

CanUndo

Gets a value indicating whether there are actions that can be undone on the Geometry.

Declaration
public bool CanUndo { get; }
Property Value
Type Description
System.Boolean

true if there are actions that can be undone on the Geometry, false otherwise.

Remarks

This applies to both programmatic and interactive changes to the Geometry and is useful for enabling or disabling a UI control for undo actions.

The value of CanUndo changes, raising the PropertyChanged 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

See Also
Undo()
CanRedo

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0200.3 - 200.8
.NET200.3 - 200.8
.NET Windows200.3 - 200.8
.NET Android200.3 - 200.8
.NET iOS200.3 - 200.8
.NET Framework200.3 - 200.8
UWP200.3 - 200.8
In This Article
Back to top Copyright © 2022 Esri.