Skip to main content
All docs
V24.2

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

MapControl.EnableRotation Property

Specifies whether the map control can be rotated.

Namespace: DevExpress.Xpf.Map

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

NuGet Package: DevExpress.Wpf.Map

#Declaration

public bool EnableRotation { get; set; }

#Property Value

Type Description
Boolean

true, if the map can be rotated; otherwise, false.

#Remarks

Hold down the right mouse button and move the mouse in a circle to rotate the map. Double-click the map with the right mouse button to reset the rotation angle.

Use the Angle property or call the RotateAt(Double, CoordPoint) method to rotate the map programmatically.

See Also