ProgressBar::Orientation Property
.NET Framework (current version)
Gets or sets the orientation of a ProgressBar: horizontal or vertical.
Assembly: PresentationFramework (in PresentationFramework.dll)
public: property Orientation Orientation { Orientation get(); void set(Orientation value); }
Property Value
Type: System.Windows.Controls::OrientationOne of the Orientation values. The default is Horizontal.
The following example which creates a ProgressBar shows how to use the Orientation property to make a horizontal bar.
.NET Framework
Available since 3.0
Available since 3.0
Show: