Skip to main content

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

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

By default, tabs are displayed in single line. 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. To disable this feature, set the IDocumentGroupProperties.HeaderAutoFill to false.

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