DropDownProcessHandler
delegate.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WinForms.Controls.ListControls
Method signature for handling the event DropDownAboutToBeShown.
public delegate void DropDownProcessHandler (object sender, ref bool cancelNow);
Remarks
Whenever you want to take control of deciding whether to allow the combobox drop-down to drop or not, attach a handler of this delegate's signature to the event DropDownAboutToBeShown and set the cancelNow reference boolean parameter to false or true, where false indicates you want to allow the drop-list to drop-down and, "true" refers to cancel the drop-list that is about to be displayed.