Skip to main content

XtraMdiTabPage.MaxTabPageWidth Property

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

Namespace: DevExpress.XtraTabbedMdi

Assembly: DevExpress.XtraBars.v24.1.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