Skip to main content

NavBarControl.HideGroupCaptions Property

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

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v24.1.dll

NuGet Packages: DevExpress.Win, DevExpress.Win.Navigation

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