Skip to main content
Bar

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

BarOptions.Hidden Property

Gets or sets whether the bar is hidden in the Customization Window, customization menu and BarToolbarsListItem‘s list.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

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

#Property Value

Type Default Description
Boolean false

true if the bar is hidden in the Customization Window, customization menu and BarToolbarsListItem‘s list; otherwise, false.

#Property Paths

You can access this nested property as listed below:

Object Type Path to Hidden
Bar
.OptionsBar .Hidden

#Remarks

The Customization Window allows the end-user to access and customize toolbars, access bar items (commands) and general bar options. The window displays the bars whose Hidden property is set to false. The BarManager.AllowCustomization property specifies whether the Customization Window can be opened at runtime. See the Runtime Customization document for more information.

The customization menu lists all the toolbars for which the Hidden property is set to false. The end-user can use the menu to hide or display a particular toolbar or invoke the Customization Window. Use the BarManager.AllowShowToolbarsPopup property to specify whether the menu can be opened at runtime.

You can use the BarToolbarsListItem item to represent the list of available toolbars. If the Hidden property is set to true, the item representing this bar will be hidden from the list.

See Also