Skip to main content
A newer version of this page is available. .

RibbonControl.ShowPageHeadersInFormCaption Property

Gets or sets whether ribbon page headers are displayed in place of the regular form title bar. This property is in effect for the RibbonControl displayed using the OfficeUniversal style, and embedded into the RibbonForm.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v21.2.dll

NuGet Packages: DevExpress.Win.Design, DevExpress.Win.Navigation

Declaration

[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
public DefaultBoolean ShowPageHeadersInFormCaption { get; set; }

Property Value

Type Default Description
DefaultBoolean Default

A DefaultBoolean enumeration value that specifies whether ribbon page headers are displayed in place of the regular title bar.

Available values:

Name Description
True

true. DefaultBoolean.True has a constant value of 0, while the standard true value corresponds to a value of 1. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

False

false. DefaultBoolean.False has a constant value of 1, while the standard false value corresponds to a value of 0. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

Default

The default behavior determined by the control’s logic.

Remarks

If the RibbonControl is embedded into the RibbonForm, and displayed using the OfficeUniversal style (see RibbonControl.RibbonStyle), the ShowPageHeadersInFormCaption property allows you to specify whether ribbon page headers are displayed in place of the regular title bar.

When the ShowPageHeadersInFormCaption property is set to Default or False, the RibbonControl displays page headers below the regular form title bar. See the following figure.

RibbonControl_ShowPageHeadersInFormCaption_False

Set the ShowPageHeadersInFormCaption property to True to hide the regular form title bar and display ribbon page headers in its place. See the figure below.

RibbonControl_ShowPageHeadersInFormCaption_True

See Also