# Linear Gauge Features

## Content

The **LinearGauge** control uses a linear pointer to show a value along a linear scale. You can set the value across the linear frame using the Value property to display the value you want to display.
You can also set the **Minimum** and **Maximum** properties of the Linear Gauge to mark the minimum value and maximum gauge values.
![](https://docapp.mescius.io/DOCUMENT_SITE_LINK_PREFIX_HERE/document-site-files/images/4f868d06-8d51-499e-8191-b535fade2347/images/linear-gauge-min-max.png?width=500)
**xml**

```auto
<c1:C1LinearGauge Name="linearGauge" Value="50"  Minimum="10" Maximum="100" TextVisibility="All" Width="780" Height="129"/>
```

**csharp**

```auto
linearGauge.Minimum = 10;
linearGauge.Maximum = 100;
```

Further, you can also set the direction of the Linear Gauge using the Direction property to create vertical Linear Gauge. For more information about gauge direction, see [Direction.](/componentone/docs/winui/online-winui/winui-controls/gauges/direction)
![image](https://cdn.mescius.io/document-site-files/images/2d49eac2-0942-4770-99ef-52b14e6815bd/image-20260528.d9c303.png?width=100)