Back to Devexpress

TabFormControlBase.MaxTabWidth Property

windowsforms-devexpress-dot-xtrabars-dot-tabformcontrolbase-94f6db5e.md

latest2.2 KB
Original Source

TabFormControlBase.MaxTabWidth Property

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

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
Int32200

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

Text

ImageOptions

MinTabWidth

TabFormControlBase Class

TabFormControlBase Members

DevExpress.XtraBars Namespace