Back to Devexpress

MapPie.RotationDirection Property

windowsforms-devexpress-dot-xtramap-dot-mappie-9cc3d13e.md

latest1.9 KB
Original Source

MapPie.RotationDirection Property

Gets or sets the direction in which pie slices should be rotated.

Namespace : DevExpress.XtraMap

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

csharp
[DefaultValue(RotationDirection.CounterClockwise)]
public RotationDirection RotationDirection { get; set; }
vb
<DefaultValue(RotationDirection.CounterClockwise)>
Public Property RotationDirection As RotationDirection

Property Value

TypeDefaultDescription
RotationDirectionCounterClockwise

A RotationDirection enumeration value.

|

Available values:

NameDescription
Clockwise

Specifies a clockwise pie slice rotation.

| | CounterClockwise |

Specifies a counter-clockwise pie slice rotation.

|

Example

csharp
private void lbRotationDirection_SelectedIndexChanged(object sender, EventArgs e) {
    pie.RotationDirection = (RotationDirection)lbRotationDirection.SelectedValue;
}
vb
Private Sub lbRotationDirection_SelectedIndexChanged(ByVal sender As Object, ByVal e As EventArgs) Handles lbRotationDirection.SelectedIndexChanged
    pie.RotationDirection = DirectCast(lbRotationDirection.SelectedValue, RotationDirection)
End Sub

See Also

MapPie Class

MapPie Members

DevExpress.XtraMap Namespace