Dela via


ComboBox.DropDownClosed Event

Definition

Occurs when the drop-down portion of the ComboBox closes.

// Register
event_token DropDownClosed(EventHandler<IInspectable> const& handler) const;

// Revoke with event_token
void DropDownClosed(event_token const* cookie) const;

// Revoke with event_revoker
ComboBox::DropDownClosed_revoker DropDownClosed(auto_revoke_t, EventHandler<IInspectable> const& handler) const;
public event System.EventHandler<object> DropDownClosed;
function onDropDownClosed(eventArgs) { /* Your code */ }
comboBox.addEventListener("dropdownclosed", onDropDownClosed);
comboBox.removeEventListener("dropdownclosed", onDropDownClosed);
- or -
comboBox.ondropdownclosed = onDropDownClosed;
Public Custom Event DropDownClosed As EventHandler(Of Object) 
<ComboBox DropDownClosed="eventhandler"/>

Event Type

Remarks

The drop-down portion of ComboBox is implemented basically as a Popup.

Applies to