Skip to main content
Bar

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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