The Direction property allows you to change the orientation of the gauge as well as the direction in which the pointer moves. For example, setting the direction to Down changes the gauge orientation from horizontal to vertical and the pointer starts from the top of the gauge and move towards the bottom.
The following image shows how the C1LinearGauge appears after this property has been set.
The following code example demonstrates how to set direction. This example uses the sample created in the LinearGauge Quick Start section.
C# |
Copy Code
|
---|---|
linearGauge.Direction = LinearGaugeDirection.Right; |