Back to Devexpress

MapEditorPanelOptions Class

wpf-devexpress-dot-xpf-dot-map-df3d9af8.md

latest5.0 KB
Original Source

MapEditorPanelOptions Class

The Map Editor Panel options storage.

Namespace : DevExpress.Xpf.Map

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

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
public class MapEditorPanelOptions :
    MapElementOptions
vb
Public Class MapEditorPanelOptions
    Inherits MapElementOptions

The following members return MapEditorPanelOptions objects:

Remarks

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

The Editor Panel looks as follows:

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

Panel IconDescription
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:

xml
<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:

SymbolDescription
MapEditor.EditorPanelOptionsGets or sets an object that configures how the Editor Panel looks and behaves.
MapEditorPanelOptionsThe Map Editor Panel options storage.

Inheritance

Object DispatcherObject DependencyObject Freezable MapDependencyObject MapElementOptions MapEditorPanelOptions

See Also

MapEditorPanelOptions Members

DevExpress.Xpf.Map Namespace