Skip to main content

MapEditorTransformMode Class

The Map Editor‘s mode that allows you to move, resize, and rotate map items.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v23.1.dll

NuGet Package: DevExpress.Wpf.Map


public class MapEditorTransformMode :


The Transform Mode Icon icon on the built-in Editor Panel enables the Transform mode:

Transformation Animation

The markup below translates the Editor to this mode at design time:

        <dxm:MapEditorTransformMode Transform="Rotate,Move"/>

The code above uses the properties below:

Symbol Description
MapEditor.Mode Gets or sets the mode that the Map Editor currently uses.
MapEditorTransformMode The Map Editor‘s mode that allows you to move, resize, and rotate map items.
MapEditorTransformMode.Transform Gets or sets the value that specifies transformations that an end user can apply to the Editor’s active items.


The Editor’s mode can be set to Transform at runtime using the MapEditor.SetTransformModeCommand command. Refer to the How to: Implement a Custom UI using the Map Editor API section to learn more about the Editor’s commands.

Note that several map item types do not support the rotate and resize transformations. The following table lists transformations available for each map item type:

Map Item Translate Resize Rotate
MapPushpin Yes
MapCustomElement Yes
MapDot Yes Yes
MapLine Yes Yes Yes
MapEllipse Yes Yes
MapRectangle Yes Yes
MapPolyline Yes Yes Yes
MapPolygon Yes Yes Yes
MapPath Yes Yes Yes
MapBubble Yes
MapPie Yes


Several map items form a group of active items when they are selected simultaneously. Transformations available for this group are transformations that are available for the less changeable item. For example, when the MapPushpin and MapPath are selected, the Editor allows end-users to move them.

See Also