XtraMdiTabPage.MaxTabPageWidth Property

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

Namespace: DevExpress.XtraTabbedMdi

Assembly: DevExpress.XtraBars.v20.1.dll


public virtual int MaxTabPageWidth { get; set; }
Public Overridable Property MaxTabPageWidth As Integer

Property Value

Type Default Description


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 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