Skip to main content
Bar

TabFormControlBase.MaxTabWidth Property

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

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v23.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.Image). By default, the maximum possible width is restricted to 200 pixels. 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