Back to Devexpress

DropDownButton.ShowDropDownControl Event

windowsforms-devexpress-dot-xtraeditors-dot-dropdownbutton-8346d640.md

latest1.7 KB
Original Source

DropDownButton.ShowDropDownControl Event

Fires when an attempt is made to open the associated popup control.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Events")]
public event ShowDropDownControlEventHandler ShowDropDownControl
vb
<DXCategory("Events")>
Public Event ShowDropDownControl As ShowDropDownControlEventHandler

Event Data

The ShowDropDownControl event's data class is DevExpress.XtraEditors.ShowDropDownControlEventArgs.

Remarks

Handle the ShowDropDownControl event to perform specific actions when the associated popup control is about to be displayed. You can assign another popup control via the event’s DropDownControl property, customize the current popup control or prevent it from being displayed. To prevent the popup control from being displayed, set the event’s Allow parameter to false.

See Also

ArrowButtonClick

DropDownControl

DropDownButton Class

DropDownButton Members

DevExpress.XtraEditors Namespace