Bar

TabFormControlBase.MaxTabWidth Property

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

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[DefaultValue(200)]
public int MaxTabWidth { get; set; }
<DefaultValue(200)>
Public Property MaxTabWidth As Integer

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