MapEditorEditMode Class
The Map Editor‘s mode that allows end users to add, remove, and edit coordinates of a map shape’s points.
Namespace: DevExpress.Xpf.Map
Assembly: DevExpress.Xpf.Map.v24.2.dll
NuGet Package: DevExpress.Wpf.Map
#Declaration
public class MapEditorEditMode :
MapEditorModeBase
#Remarks
To enable the Edit mode, click the icon on the built-in Editor Panel. The following table represents actions available in this mode:
Action | Example | Description |
---|---|---|
Add a vertex | To add a new vertex, hover the mouse pointer between two points over the item’s edge and click. | |
Move a vertex | Drag an existing point to a new position to relocate it. | |
Delete a vertex | Double click a vertex to remove it. |
The markup below translates the Editor to this mode at design time:
<dxm:MapEditor>
<dxm:MapEditor.Mode>
<dxm:MapEditorEditMode/>
</dxm:MapEditor.Mode>
</dxm:MapEditor>
The code above uses the following properties:
Symbol | Description |
---|---|
Map |
Gets or sets the mode that the Map Editor currently uses. |
Map |
The Map Editor‘s mode that allows end users to add, remove, and edit coordinates of a map shape’s points. |
Note
The current Editor’s mode can be set to Edit at runtime using the Map
Important
Only Map