Bar

BarItem.Enabled Property

Determines whether the current BarItem is active.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[DefaultValue(true)]
[DXCategory("Behavior")]
public virtual bool Enabled { get; set; }
<DefaultValue(True)>
<DXCategory("Behavior")>
Public Overridable Property Enabled As Boolean

Property Value

Type Default Description
Boolean

true

true, if the current BarItem is enabled; otherwise, false.

Remarks

If a specific BarItem is enabled, then its icon and caption appear in full color:Enabled true and the item can be clicked to perform specific actions. If it is disabled, then its icon and caption appear shaded:Enabled false and it cannot be clicked.

See Also