Back to Devexpress

XtraTabControl.MultiLine Property

windowsforms-devexpress-dot-xtratab-dot-xtratabcontrol-b707d199.md

latest2.5 KB
Original Source

XtraTabControl.MultiLine Property

Gets or sets whether more than one row of tab headers can be displayed.

Namespace : DevExpress.XtraTab

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
public virtual DefaultBoolean MultiLine { get; set; }
vb
<DXCategory("Behavior")>
<DefaultValue(DefaultBoolean.Default)>
Public Overridable Property MultiLine As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

A DefaultBoolean value which specifies whether more than one row of tab headers can be displayed.

|

Available values:

NameDescriptionReturn Value
True

The value is true.

|

0

| | False |

The value is false.

|

1

| | Default |

The value is specified by a global option or a higher-level object.

|

2

|

Remarks

If the MultiLine property is set to ‘False’ or ‘Default’, only one row of tabs is displayed - even if all the page headers don’t fit in the available space. In this case navigation buttons are displayed which allow end-users to scroll the tab pages.

Otherwise, if this property is set to ‘True’ multiple rows of tab headers are displayed if the page headers don’t fit the available space. In this case the XtraTabControl.HeaderAutoFill property can be set to ‘True’ so that the tab headers are automatically stretched to fill the empty space in a tab row as shown in the image below:

See Also

HeaderAutoFill

XtraTabControl Class

XtraTabControl Members

DevExpress.XtraTab Namespace