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.1.dll

Declaration

[DXCategory("Behavior")]
[DefaultValue(DefaultBoolean.Default)]
[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

Corresponds to a Boolean value of true.

False

Corresponds to a Boolean value of false.

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