Back to Devexpress

MapControl.Angle Property

wpf-devexpress-dot-xpf-dot-map-dot-mapcontrol-8b8dd253.md

latest1.4 KB
Original Source

MapControl.Angle Property

Specifies the rotation of the map’s content.

Namespace : DevExpress.Xpf.Map

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

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
public double Angle { get; set; }
vb
Public Property Angle As Double

Property Value

TypeDescription
Double

The angle in degrees.

|

Remarks

The following images illustrate a map with different Angle property values:

|

Angle = 0

|

Angle = 20

| | --- | --- | |

|

|

xaml
<dxm:MapControl Angle="{Binding MapAngle}">
  <!--...-->
</dxm:MapControl>

Alternatively, you can call the RotateAt method to specify the map’s rotation.

See Also

MapControl Class

MapControl Members

DevExpress.Xpf.Map Namespace