Skip to main content
A newer version of this page is available. .
Bar

BarItemVisibility Enum

Contains values specifying the visibility of links.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v18.1.dll

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the BarItemVisibility enum.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also