windowsforms-devexpress-dot-xtramap-dot-mappie-9cc3d13e.md
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
[DefaultValue(RotationDirection.CounterClockwise)]
public RotationDirection RotationDirection { get; set; }
<DefaultValue(RotationDirection.CounterClockwise)>
Public Property RotationDirection As RotationDirection
| Type | Default | Description |
|---|---|---|
| RotationDirection | CounterClockwise |
A RotationDirection enumeration value.
|
Available values:
| Name | Description |
|---|---|
| Clockwise |
Specifies a clockwise pie slice rotation.
| | CounterClockwise |
Specifies a counter-clockwise pie slice rotation.
|
private void lbRotationDirection_SelectedIndexChanged(object sender, EventArgs e) {
pie.RotationDirection = (RotationDirection)lbRotationDirection.SelectedValue;
}
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