Back to Devexpress

BarItemVisibility Enum

windowsforms-devexpress-dot-xtrabars-02a82da8.md

latest2.1 KB
Original Source

BarItemVisibility Enum

Contains values specifying the visibility of links.

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public enum BarItemVisibility
vb
Public Enum BarItemVisibility

Members

NameDescription
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:

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

Visibility

Visible

DevExpress.XtraBars Namespace