XtraTabControl.MultiLine Property
Gets or sets whether more than one row of tab headers can be displayed.
Namespace: DevExpress.XtraTab
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
public virtual DefaultBoolean MultiLine { get; set; }
Property Value
Type | Default | Description |
---|---|---|
DefaultBoolean | Default | A DefaultBoolean value which specifies whether more than one row of tab headers can be displayed. |
Available values:
Name | Description | Return Value |
---|---|---|
True | The value is true. |
|
False | The value is false. |
|
Default | The value is specified by a global option or a higher-level object. |
|
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: