Back to Devexpress

IDocumentGroupProperties.MultiLine Property

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-tabbed-dot-idocumentgroupproperties-d4546ed8.md

latest2.6 KB
Original Source

IDocumentGroupProperties.MultiLine Property

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

Namespace : DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
bool MultiLine { get; set; }
vb
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
Property MultiLine As Boolean

Property Value

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

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.

csharp
tabbedView.DocumentGroupProperties.MultiLine = true;
vb
tabbedView.DocumentGroupProperties.MultiLine = True

The result is shown below.

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

HeaderAutoFill

IDocumentGroupProperties Interface

IDocumentGroupProperties Members

DevExpress.XtraBars.Docking2010.Views.Tabbed Namespace