Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Win

#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