windowsforms-devexpress-dot-xtrabars-02a82da8.md
Contains values specifying the visibility of links.
Namespace : DevExpress.XtraBars
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
public enum BarItemVisibility
Public Enum BarItemVisibility
| 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.
|
The following properties accept/return BarItemVisibility values:
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