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

BarItemVisibility Enum

Contains values specifying the visibility of links.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public enum BarItemVisibility

#Members

Name Description
Always

Indicates that associated links are visible regardless of whether the runtime customization is performed.

Never

Indicates that associated links are hidden regardless of whether the runtime customization is performed.

OnlyInCustomizing

Indicates that associated links are only visible when the runtime customization is performed.

OnlyInRuntime

Indicates that associated links are only visible when the runtime customization is not performed.

#Related API Members

The following properties accept/return BarItemVisibility values:

#Remarks

Values listed in this enumeration are used to set the BarItem.Visibility property of items. Note that this property specifies the visibility of associated links at runtime. At design time, all links are visible.

The visibility of links can depend on whether runtime customization is currently performed. You can invoke runtime customization using the BarManager.ShowCustomizationForm method. Users can do the same by choosing the Customize… item from a bar’s context menu.

See Also