Skip to main content
A newer version of this page is available. .

IDocumentGroupProperties.HeaderAutoFill Property

Gets or sets whether tabs are stretched to fill the entire width of the groups.

Namespace: DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly: DevExpress.XtraBars.v21.2.dll

NuGet Packages: DevExpress.Win.Design, DevExpress.Win.Navigation

Declaration

[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
DefaultBoolean HeaderAutoFill { get; set; }

Property Value

Type Description
DefaultBoolean

True if tabs are stretched to fill the entire width of the groups; False if not; by Default, the behavior depends on the IDocumentGroupProperties.MultiLine setting.

Available values:

Name Description
True

true. DefaultBoolean.True has a constant value of 0, while the standard true value corresponds to a value of 1. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

False

false. DefaultBoolean.False has a constant value of 1, while the standard false value corresponds to a value of 0. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

Default

The default behavior determined by the control’s logic.

Remarks

By default, if tabs are arranged in a single line (see IDocumentGroupProperties.MultiLine), the width of each tab depends on its content. See the figure below.

IDocumentGroupProperties_HeaderAutoFill_False

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

IDocumentGroupProperties_MultiLine_True

Use the HeaderAutoFill property to override the default behavior, and explicitly specify whether tabs are stretched to fill the entire width of the group.

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

See Also