# Direction

With Gauge controls for WinForms (GaugeControl) you can visualize your date in beautiful and meaningful ways. This API provides different gauges as Linear Gauge, Radial Gauge, BulletGraph Gauge to create simple and practical usecases.

## Content



The **Direction** property allows you to change the orientation of the Linear Gauge as well as the direction in which the pointer moves. For example, setting the [Direction](/componentone/api/wpf/online-gauges-net/dotnet-api/C1.WPF.Gauge/C1.WPF.Gauge.C1LinearGauge.Direction.html) property to Down changes the gauge orientation from horizontal to vertical and the pointer starts from the top of the gauge and moves towards the bottom. For Radial Gauge, you can reverse the current direction by using the [IsReversed](/componentone/api/wpf/online-gauges-net/dotnet-api/C1.WPF.Gauge/C1.WPF.Gauge.C1RadialGauge.IsReversed.html) property.

The following image shows how the LinearGauge and Radial Gauge appears after the direction has been changed.

![](https://cdn.mescius.io/document-site-files/images/4f868d06-8d51-499e-8191-b535fade2347/images/direction-linear-circular-gauge.png)

The following code example demonstrates how to set this property in XAML for Linear Gauge. It uses the sample created in QuickStart.

```xml
<c1:C1LinearGauge x:Name="linearGauge" Value="50" Direction="Up" TextVisibility="All" ShowRanges="True" Min="0" Max="100" Width="48" Height="314" Margin="510,83,242,83"/>
```

The following code example demonstrates how to set this property in XAML for Radial Gauge.

```xml
<c1:C1RadialGauge x:Name="radGauge" IsReversed="True" Min="0"  Max="100" ShowRanges="True" HorizontalAlignment="Left" Margin="41,157,0,45" Value="25" Width="469"/>
```