windowsforms-devexpress-dot-xtrabars-dot-barlistitem-772d8c31.md
Determines whether the current bar item is active.
Namespace : DevExpress.XtraBars
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
public override bool Enabled { get; set; }
Public Overrides Property Enabled As Boolean
| Type | Description |
|---|---|
| Boolean |
true if the current bar item is active; otherwise, false.
|
This method overrides the BarItem.Enabled property.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Enabled property.
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.
enableBarItem.Enabled = showTitlesBarItem.Enabled =
allowCollapsingBarItem.Enabled = layoutModeBarItem.Enabled = false;
return;
enableBarItem.Checked = showTitlesBarItem.Checked
layoutModeBarItem.Enabled = False
allowCollapsingBarItem.Enabled = layoutModeBarItem.Enabled
See Also