New to Telerik UI for WPF? Download free 30-day trial

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". Below you can see examples of how to set the Orientation property both in C# and XAML code:

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

RadProgressBar progressBar = new RadProgressBar(); 
progressBar.Orientation = System.Windows.Controls.Orientation.Horizontal; 
Dim progressBar As New RadProgressBar() 
progressBar.Orientation = System.Windows.Controls.Orientation.Horizontal 

![WPF RadProgressBar Horizontal Orientation(images/progress_horizontal.jpg)

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

RadProgressBar progressBar = new RadProgressBar(); 
progressBar.Orientation = System.Windows.Controls.Orientation.Vertical; 
Dim progressBar As New RadProgressBar() 
progressBar.Orientation = System.Windows.Controls.Orientation.Vertical 

WPF RadProgressBar Vertical Orientation

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.

In this article