Skip to main content

TabbedView.Orientation Property

Gets or sets whether groups in the TabbedView are oriented horizontally or vertically.

Namespace: DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(Orientation.Horizontal)]
[XtraSerializableProperty]
public Orientation Orientation { get; set; }

Property Value

Type Default Description
Orientation Horizontal

An Orientation value that specifies whether groups in the TabbedView are oriented horizontally or vertically.

Remarks

It is possible to split the TabbedView‘s area horizontally or vertically into document groups. An end-user can create new groups via a context menu or drag-and-drop. Groups can also be created in code via the ITabbedViewController.CreateNewDocumentGroup method.

The Orientation property allows you to change the orientation of document groups in code. When the Orientation property’s value is changed, the TabbedView.OrientationChanged event fires.

Note that the Orientation property value corresponds to the DocumentGroup order (side-by-side or one above another), while context menu items that allow end-users to create a new group specify the splitter orientation, which is the same behavior seen in Microsoft Visual Studio. Thus, if an end user clicks the ‘New Horizontal Tab Group’, the View’s orientation will be vertical and vice versa. The image below illustrates this difference.

DocumentManager - TabbedView Groups Orientation

See Also