Back to Devexpress

RibbonControl.ShowPageHeadersInFormCaption Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribboncontrol-bef1b511.md

latest3.3 KB
Original Source

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

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
public DefaultBoolean ShowPageHeadersInFormCaption { get; set; }
vb
<DXCategory("Behavior")>
<DefaultValue(DefaultBoolean.Default)>
<XtraSerializableProperty>
Public Property ShowPageHeadersInFormCaption As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

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

|

Available values:

NameDescriptionReturn 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.

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.

See Also

ShowPageHeadersMode

RibbonControl Class

RibbonControl Members

DevExpress.XtraBars.Ribbon Namespace