Skip to main content
Bar

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Win.Navigation

#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