Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

MapEditor.Mode Property

Gets or sets the mode that the Map Editor currently uses.

Namespace: DevExpress.Xpf.Map

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

NuGet Package: DevExpress.Wpf.Map

#Declaration

public MapEditorModeBase Mode { get; set; }

#Property Value

Type Description
MapEditorModeBase

The mode that the Map Editor currently uses.

#Remarks

The built-in Editor Panel allows end users to switch modes at runtime.

built-in Editor Panel Example

The following modes are available:

Mode

Description

Default

The default mode is “read-only” and disables editing. Assign null (or Nothing) to the Mode property to specify this mode as the initial mode.

Transform

Map Editor allows end users to resize, move and rotate the Editor’s active items. Assign the MapEditorTransformMode object to the Mode property to set this mode as the initial mode.

Edit

This mode enables end users to add, move, and delete points that define map shape. Assign the MapEditorEditMode object to the Mode property to set this mode as the initial mode.

Create

The Create mode allows end users to add a new map item to the active map layer. Assign the MapEditorCreateMode object to the Mode property to set this mode as the initial mode.

See Also