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.

MapEditorPanelOptions Class

The Map Editor Panel options storage.

Namespace: DevExpress.Xpf.Map

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

Declaration

public class MapEditorPanelOptions :
    MapElementOptions

The following members accept/return MapEditorPanelOptions objects:

Remarks

The Editor Panel allows end users to add, modify, and delete vector item.

The Editor Panel looks as follows:

Customized Editor Panel

The Panel displays the following icon that switches the Editor’s modes:

Panel Icon Description
Cancels the last action.
Restores the last canceled action.
Enables the Default mode.
Enables the Transform mode.
Enables the Edit mode.
Enables the Create mode with Pushpin settings assigned to it.
Enables the Create mode with Polygon settings assigned to it.
Enables the Create mode with Polyline settings assigned to it.
Enables the Create mode with Dot settings assigned to it.
Enables the Create mode with Ellipse settings assigned to it.
Enables the Create mode with Rectangle settings assigned to it.
Enables the Create mode with Line settings assigned to it.

The markup below demonstrates how to configure the Panel:

<dxm:MapControl>
    <dxm:MapControl.MapEditor>
        <dxm:MapEditor>
            <dxm:MapEditor.EditorPanelOptions>
                <dxm:MapEditorPanelOptions VerticalAlignment="Top" HorizontalAlignment="Right" Margin="8">
            </dxm:MapEditor.EditorPanelOptions>
        <dxm:MapEditor>
    <dxm:MapControl.MapEditor>
    <!-- Other Map Control's settings. -->
</dxm:MapControl>

The example uses classes and properties represented below:

Symbol Description
MapEditor.EditorPanelOptions Gets or sets an object that configures how the Editor Panel looks and behaves.
MapEditorPanelOptions The Map Editor Panel options storage.
See Also