ArcScale.StartAngle Property

Gets or sets the angle that specifies the scale start position.

Namespace: DevExpress.Xpf.Gauges

Assembly: DevExpress.Xpf.Gauges.v21.2.dll


public double StartAngle { get; set; }

Property Value

Type Description

A Double value that is the start angle of the scale.


A scale’s start and end positions are defined by the StartAngle and ArcScale.EndAngle properties. In this case, an angle increases in the clockwise direction and decreases in a counterclockwise one.

The following images illustrate this behavior:

StartAngle= 0, EndAngle= -270 StartAngle= -90, EndAngle = -270 StartAngle= -180, EndAngle = -270
Scale_StartAngle 0 Scale_StartAngle -90 Scale_StartAngle -180

Note that the StartAngle property can be either less than the EndAngle or greater than the EndAngle - both situations are correct.

StartAngle= 180, EndAngle= 0 StartAngle= 0, EndAngle= 180
Scale_StartAngle greater EndAngle Scale_EndAngle greater StartAngle


This example illustrates how to create a CircularGaugeControl instance with a single ArcScale object.

View Example

<Window x:Class="DXGauges_Circular.MainWindow"
        Title="MainWindow" Height="350" Width="525">
        <dxga:CircularGaugeControl Name="circularGaugeControl1" >
                <dxga:CircularRedClockModel />
                <dxga:ArcScale StartValue="0" EndValue="12" 
                               StartAngle="-90" EndAngle="270"
                               MajorIntervalCount="12" MinorIntervalCount="5">
                        <dxga:ArcScaleLabelOptions ShowFirst="False" Orientation="LeftToRight" />
                        <dxga:ArcScaleNeedle Value="3" />
                        <dxga:ArcScaleNeedle Value="12" />
                        <dxga:ArcScaleMarker Value="7" />
                        <dxga:ArcScaleRangeBar AnchorValue="7" Value="3" />
                        <dxga:ArcScaleLayer />
                        <dxga:ArcScaleRange StartValue="0" EndValue="4" />
                        <dxga:ArcScaleRange StartValue="4" EndValue="8" />
                        <dxga:ArcScaleRange StartValue="8" EndValue="12" />
See Also