Back to Devexpress

MapControl.EnableRotation Property

wpf-devexpress-dot-xpf-dot-map-dot-mapcontrol-ef077384.md

latest1.4 KB
Original Source

MapControl.EnableRotation Property

Specifies whether the map control can be rotated.

Namespace : DevExpress.Xpf.Map

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

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
public bool EnableRotation { get; set; }
vb
Public Property EnableRotation As Boolean

Property Value

TypeDescription
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

MapControl Class

MapControl Members

DevExpress.Xpf.Map Namespace