Back to Devexpress

XtraMdiTabPage.MaxTabPageWidth Property

windowsforms-devexpress-dot-xtratabbedmdi-dot-xtramditabpage-bcd39af9.md

latest2.4 KB
Original Source

XtraMdiTabPage.MaxTabPageWidth Property

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

Declaration

csharp
[DefaultValue(0)]
public virtual int MaxTabPageWidth { get; set; }
vb
<DefaultValue(0)>
Public Overridable Property MaxTabPageWidth As Integer

Property Value

TypeDefaultDescription
Int320

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

Trimming

AppearancePage

MaxTabPageWidth

XtraMdiTabPage Class

XtraMdiTabPage Members

DevExpress.XtraTabbedMdi Namespace