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".

Setting the Orientation property to Horizontal

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

Setting the Orientation property to 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

Setting the Orientation property to Vertical

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

Setting the Orientation property to 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