Orientation Property
Collapse the table of content
Expand the table of content

ProgressBar::Orientation Property

 

Gets or sets the orientation of a ProgressBar: horizontal or vertical.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public:
property Orientation Orientation {
	Orientation get();
	void set(Orientation value);
}

Property Value

Type: System.Windows.Controls::Orientation

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

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft