Skip to main content
Bar

ToolBarControl.Orientation Property

Gets or sets whether the items in the current ToolBarControl are arranged horizontally or vertically. This is a dependency property.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v24.1.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public Orientation Orientation { get; set; }

Property Value

Type Description
Orientation

An Orientation enumeration value that specifies whether the items in the current ToolBarControl are arranged horizontally or vertically. The default is Horizontal.

Remarks

Using the Orientation property, you can specify whether the items in the current ToolBarControl are arranged horizontally or vertically. By default, in the vertically oriented ToolBarControls, the item captions are directed from top to bottom. You can override this setting and display them horizontally by setting the ToolBarControl.RotateWhenVertical property to false.

See Also