ComboBox.DropDown Event

 

Occurs when the drop-down portion of a ComboBox is shown.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

member DropDown : IEvent<EventHandler,
    EventArgs>

For more information about handling events, see Handling and Raising Events.

The following code example demonstrates how to initialize a ComboBox control by setting the text property and using the AddRange method to populate the ComboBox. It also demonstrates handling the DropDown event. To run the example, paste the following code in a form and call the InitializeComboBox method in the form's constructor or Load event.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: