Back to Devexpress

BarOptions.Hidden Property

windowsforms-devexpress-dot-xtrabars-dot-baroptions-b90c5799.md

latest3.2 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool Hidden { get; set; }
vb
<XtraSerializableProperty>
<DefaultValue(False)>
Public Overridable Property Hidden As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

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 TypePath 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

AllowCustomization

AllowShowToolbarsPopup

BarToolbarsListItem

BarOptions Class

BarOptions Members

DevExpress.XtraBars Namespace