Skip to main content

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

IDocumentGroupProperties.MultiLine Property

Gets or sets whether tabs are displayed in multiple or single lines.

Namespace: DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
bool MultiLine { get; set; }

#Property Value

Type Description
Boolean

true if tabs are displayed in multiple lines; otherwise, false.

#Remarks

Tabs are displayed in single line by default. If the group width is insufficient to display all available tabs, navigation buttons are displayed. See the figure below.

IDocumentGroupProperties_MultiLine_False

It is also possible to display all available tabs simultaneously, arranging them into multiple lines. To enable this feature, set the MultiLine property to true.

tabbedView.DocumentGroupProperties.MultiLine = true;

The result is shown below.

IDocumentGroupProperties_MultiLine_True

If tabs are arranged in multiple lines, they are automatically stretched to fill the entire width of the group.

The MultiLine setting is common to all groups in the current view. You can override this setting for a particular group with the IDocumentGroupDefaultProperties.MultiLine property.

See Also