You are viewing help content for pre-release software. This document and the features it describes are subject to change. Switch to the current version.

MapEditor Class

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v21.2.dll


public class MapEditor :

The following members accept/return MapEditor objects:


The Map Editor allows end users to add, remove and modify vector items.

The Map Control displays the Editor Panel when the Editor is assigned to the Map Control. The MapEditor.EditorPanelOptions property manages the content the panel displays:

Editor Panel Sample

The Map Editor supports four modes that allow the Editor to apply different changes. The MapEditor.Mode property specifies the current editor mode.

The following code enables the Editor, specifies its default mode, and changes the Editor Panel’s location:

        <dxm:MapEditor ActiveLayer="{Binding ElementName=vectorLayer}"
                       ActiveItems="{Binding ItemsOnEdit}">
                <dxm:MapEditorPanelOptions VerticalAlignment="Bottom" Margin="8">
    <!-- Other Map Control's settings. -->
See Also