Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

XtraTabControl.TabPageWidth Property

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

Namespace: DevExpress.XtraTab

Assembly: DevExpress.XtraEditors.v24.2.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