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.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(false)]
[XtraSerializableProperty]
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.

Remarks

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:

RibbonPageCategory_AutoStretchPageHeaders_False

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

RibbonPageCategory_AutoStretchPageHeaders_True

See Also