The event handler receives an argument of type ClosedEventArgs containing data related to this event.
The following
ClosedEventArgs properties provide information specific to this event.
Property |
Description |
CloseMode |
Gets a value that specifies why the popup editor's dropdown window was closed. |
The Closed event occurs after the popup window has been closed. The event's ClosedEventArgs.CloseMode parameter specifies how the popup window was closed (by submitting or discarding an option, by clicking an assigned shortcut, by clicking the dropdown button or by clicking outside the editor).
Handle this event to perform specific actions depending on how the popup window was closed. For instance, you can postprocess the selected value, switch focus to another control, etc.
The editor's PopupBaseEdit.Closed event is equivalent to the current event.