Skip to main content

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

XtraMdiTabPage.MaxTabPageWidth Property

Gets or sets the maximum width of the current page’s tab header.

Namespace: DevExpress.XtraTabbedMdi

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(0)]
public virtual int MaxTabPageWidth { get; set; }

#Property Value

Type Default Description
Int32 0

An integer value that is the maximum width of the current page’s tab header.

#Remarks

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 0 that tab header width setting is controlled by the XtraTabbedMdiManager.MaxTabPageWidth property. Otherwise, the XtraMdiTabPage.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