Skip to main content
Bar

BarButtonItem.DropDownEnabled Property

Gets or sets a value indicating whether a dropdown control, assigned to the BarButtonItem.DropDownControl property, is enabled.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

[DefaultValue(true)]
public virtual bool DropDownEnabled { get; set; }

Property Value

Type Default Description
Boolean true

true if the associated dropdown control is enabled; otherwise, false.

Remarks

The BarButtonItem.DropDownControl property can be used to associate a control with a BarButtonItem object. This control will be displayed as a dropdown when the button is clicked. If the DropDownEnabled property is set to false, the associated dropdown control is not invoked when the button is clicked.

See Also