Skip to main content

NavBarControl.HideGroupCaptions Property

Gets or sets a value specifying whether group captions are visible.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v22.1.dll


public virtual bool HideGroupCaptions { get; set; }

Property Value

Type Default Description


true if group captions are hidden; otherwise false.


Group captions allow an end-user to expand groups by clicking their captions. If group captions are invisible, groups can be expanded via code. Use the NavBarControl.ActiveGroup property for this purpose.

Only the following views allow group captions to be hidden: BaseView, FlatView, Office1View, Office2View, Office3View, XP1View and XP2View.

Use the NavBarControl.GetHideGroupCaptions method to determine whether group captions are truly hidden.

The image below displays the result of setting the HideGroupCaptions property to true.

Groups - HideCaptions

See Also