Skip to main content
Bar

BarItemVisibility Enum

Contains values specifying the visibility of links.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.1.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.Customize method. End-users can do the same by choosing the Customize… item from a bar’s context menu.

See Also