ToolBar::Orientation Property

 

Gets the orientation of the ToolBar.

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

public:
property Orientation Orientation {
	Orientation get();
}

Property Value

Type: System.Windows.Controls::Orientation

The toolbar orientation. The default is Horizontal.

This property gets its value from the parent ToolBarTray.

Identifier field

OrientationProperty

Metadata properties set to true

None

The following example shows how to determine whether a ToolBar is vertical.

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

.NET Framework
Available since 3.0
Return to top
Show: