Skip to main content

OptionsNavPane.ShowHeaderText Property

Gets or sets whether to display the active group’s caption in the NavBarControl’s header.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v24.2.dll

Declaration

[DefaultValue(true)]
public virtual bool ShowHeaderText { get; set; }

Property Value

Type Default Description
Boolean true

true, to display the active group’s caption in the NavBarControl’s header; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to ShowHeaderText
NavBarControl
.OptionsNavPane .ShowHeaderText

Remarks

A group’s caption can be specified with the group’s NavElement.Caption property. By default, the active group’s caption is displayed in the NavBarControl’s header. Set the ShowHeaderText property to false to hide this caption. The following figures show NavBarControls with and without the active group’s caption displayed in the NavBarControl’s header.

NavBar_ShowHeaderTextTrue NavBar_ShowHeaderTextFalse

See Also