Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PopupBaseEdit.Closed Event

Allows you to perform specific actions with respect to how the popup window was closed.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DXCategory("Events")]
public virtual event ClosedEventHandler Closed

#Event Data

The Closed event's data class is ClosedEventArgs. The following properties provide information specific to this event:

Property Description
CloseMode Gets a value that specifies why the popup editor’s dropdown window was closed.

#Remarks

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 Closed event is equivalent to the RepositoryItemPopupBase.Closed event available via the editor’s Properties property, i.e. adding/removing an event handler for the current event actually affects the RepositoryItemPopupBase.Closed event.

See Also