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

NavBarControl.HideGroupCaptions Property

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

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v24.2.dll

NuGet Package: DevExpress.Win

#Declaration

[DefaultValue(false)]
public virtual bool HideGroupCaptions { get; set; }

#Property Value

Type Default Description
Boolean false

true if group captions are hidden; otherwise false.

#Remarks

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