# Orientation

`RadProgressBar` has an `Orientation` property which can be set to either **Horizontal** or **Vertical**. The two allowed values specify the direction in which the control is being "filled".

**Setting the Orientation property to Horizontal**

```XAML
<telerik:RadProgressBar Value="35" Height="30" Width="150" Orientation="Horizontal" />
```

**Setting the Orientation property to Horizontal**

```C#
RadProgressBar progressBar = new RadProgressBar();
progressBar.Orientation = System.Windows.Controls.Orientation.Horizontal;
```

```VB.NET
	Dim progressBar As New RadProgressBar()
	progressBar.Orientation = System.Windows.Controls.Orientation.Horizontal
```

![WPF RadProgressBar Horizontal Orientation](https://www.telerik.com/products/wpf/documentation/assets/2c7a9f176c8dc2984c846ff116400c2d/progress_horizontal.jpg)

**Setting the Orientation property to Vertical**

```XAML
<telerik:RadProgressBar Value="35" Height="150" Width="30" Orientation="Vertical" />
```

**Setting the Orientation property to Vertical**

```C#
RadProgressBar progressBar = new RadProgressBar();
progressBar.Orientation = System.Windows.Controls.Orientation.Vertical;
```

```VB.NET
	Dim progressBar As New RadProgressBar()
	progressBar.Orientation = System.Windows.Controls.Orientation.Vertical
```

![WPF RadProgressBar Vertical Orientation](https://www.telerik.com/products/wpf/documentation/assets/dc168bf6c286c3bc42191268fa4b12a5/progress_vertical.jpg)

> Whenever you change the **Orientation** property, it will make sense to also change the height and width of the control since the property only changes the direction in which **RadProgressBar** is filled.
