Skip to main content
Bar

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

TabFormControlBase.MaxTabWidth Property

Gets or sets the maximum width, in pixels, of TabFormPage headers.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(200)]
public int MaxTabWidth { get; set; }

#Property Value

Type Default Description
Int32 200

An integer value that specifies the maximum width, in pixels, of TabFormPage headers.

#Remarks

The actual width of a particular TabFormPage header is automatically calculated based on its content (see TabFormPage.Text and TabFormPage.ImageOptions).

The maximum possible width is restricted to 200 pixels (by default). If the tab width is insufficient to display the entire content, the content is cropped using an ellipsis. The MaxTabWidth property allows you to override the default value.

To restrict the minimum tab width, use the TabFormControlBase.MinTabWidth property.

See Also