Skip to main content

RibbonPageCategory.AutoStretchPageHeaders Property

Gets or sets whether the page headers are stretched to occupy the entire width of a custom category caption.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v22.2.dll

NuGet Package: DevExpress.Win.Navigation


public bool AutoStretchPageHeaders { get; set; }

Property Value

Type Default Description
Boolean false

true if page headers are stretched to fit the current custom category’s caption; otherwise, false.


If the AutoStretchPageHeaders property is set to false and the total page header width is less than the category caption width, an empty space can appear to the right of the page headers, as shown in the following image:


To ensure that page headers fit the page category caption width, set the AutoStretchPageHeaders property to true:


See Also