Skip to main content

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

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 Return Value
True

The value is true.

0

False

The value is false.

1

Default

The value is specified by a global option or a higher-level object.

2

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