Method DeleteSelectedElement
DeleteSelectedElement()
Deletes the selected element from the current Geometry.
Declaration
public void DeleteSelectedElement()
Remarks
To clear the selection, but leave the state of the Geometry unchanged, call ClearSelection() instead.
Exceptions
| Type | Condition |
|---|---|
| InvalidOperationException | The GeometryEditor must be started, and have a SelectedElement set, in order to delete that selected element. This exception is also thrown if the selected element is a GeometryEditorMidVertex. |
See Also
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 200.3 - 200.8 |
| .NET | 200.3 - 300.0 |
| .NET Windows | 200.3 - 300.0 |
| .NET Android | 200.3 - 300.0 |
| .NET iOS | 200.3 - 300.0 |
| .NET Framework | 200.3 - 200.8 |
| UWP | 200.3 - 200.8 |