Back to Devexpress

BarButtonItem.DropDownEnabled Property

windowsforms-devexpress-dot-xtrabars-dot-barbuttonitem-be244479.md

latest1.9 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(true)]
public virtual bool DropDownEnabled { get; set; }
vb
<DefaultValue(True)>
Public Overridable Property DropDownEnabled As Boolean

Property Value

TypeDefaultDescription
Booleantrue

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

DropDownControl

ButtonStyle

BarButtonItem Class

BarButtonItem Members

DevExpress.XtraBars Namespace