windowsforms-devexpress-dot-xtratabbedmdi-dot-xtramditabpage-bcd39af9.md
Gets or sets the maximum width of the current page’s tab header.
Namespace : DevExpress.XtraTabbedMdi
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(0)]
public virtual int MaxTabPageWidth { get; set; }
<DefaultValue(0)>
Public Overridable Property MaxTabPageWidth As Integer
| Type | Default | Description |
|---|---|---|
| Int32 | 0 |
An integer value that is the maximum width of the current page’s tab header.
|
You can set the maximum tab header width for all pages via the XtraTabbedMdiManager.MaxTabPageWidth property. The XtraMdiTabPage.** MaxTabPageWidth property allows you to limit the tab header width for individual pages. If this property is set to 0that tab header width setting is controlled by the XtraTabbedMdiManager.MaxTabPageWidth property. Otherwise, theXtraMdiTabPage. **MaxTabPageWidth property overrides the XtraTabbedMdiManager.MaxTabPageWidth property.
To specify the way text is trimmed within tab headers, use the TextOptions.Trimming property, accessible via the XtraTabbedMdiManager.AppearancePage object.
See Also