Skip to main content
All docs
V25.1
  • MapControl.EnableRotation Property

    Specifies whether the map control can be rotated.

    Namespace: DevExpress.Xpf.Map

    Assembly: DevExpress.Xpf.Map.v25.1.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