Skip to main content

XtraTabControl.TabPageWidth Property

Gets or sets the default width for all tab page headers.

Namespace: DevExpress.XtraTab

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(0)]
[DXCategory("Appearance")]
public virtual int TabPageWidth { get; set; }

Property Value

Type Default Description
Int32 0

An integer value that specifies the default width for tab page headers.

Remarks

Use the TabPageWidth property to specify the default width for tab page headers. If the TabPageWidth property is set to 0, the headers will be auto-sized to fit the header text.

You can specify the header width for individual tab pages via the XtraTabPage.TabPageWidth property. This property, if set to a non-default value, overrides the TabPageWidth setting for this page.

See Also