ComboBox::DropDownClosed Event

 

Occurs when the drop-down list of the combo box closes.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public:
event EventHandler^ DropDownClosed {
	void add(EventHandler^ value);
	void remove(EventHandler^ value);
}

The following example shows how to assign event handlers and how to handle the DropDownOpened and DropDownClosed events.

<ComboBox Name="cb" StaysOpenOnEdit="true" IsEditable="true" DropDownOpened="OnDropDownOpened" 
        DropDownClosed="OnDropDownClosed">
No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: