Show / Hide Table of Contents

Property AllowDeletingSelectedElement

AllowDeletingSelectedElement

Gets or sets a value indicating whether the selected GeometryEditorElement can be interactively deleted. Default is true.

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

true if the selected GeometryEditorElement can be interactively deleted, false otherwise. Default is true.

Remarks

Whether true or false, an element can be deleted by DeleteSelectedElement().

If false, then the CanDelete property of the SelectedElement is also false. If you have implemented a customization to allow users to interactively delete the selected element, then you can use this property to check if that customization should be enabled.

SetAllowDeletion(Boolean) sets this property.

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.