Orientation Property

ToolBarTray.Orientation Property


Specifies the orientation of a ToolBarTray.

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

public Orientation Orientation { get; set; }

Property Value

Type: System.Windows.Controls.Orientation

One of the Orientation values. The default is Orientation.Horizontal.

Legacy Code Example

The following example shows how to use the Orientation property to set the orientation of the tool bar tray; this determines the orientation of the tool bar.

Code snippet is not found. Confirm that the code snippet name 'ToolBarExample' is correct.

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft