Back to Devexpress

RepositoryItemPopupBase.Closed Event

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitempopupbase-318e0c63.md

latest2.6 KB
Original Source

RepositoryItemPopupBase.Closed Event

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

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Events")]
public virtual event ClosedEventHandler Closed
vb
<DXCategory("Events")>
Public Overridable Event Closed As ClosedEventHandler

Event Data

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

PropertyDescription
CloseModeGets 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 editor’s PopupBaseEdit.Closed event is equivalent to the current event.

See Also

QueryCloseUp

CloseUp

EditValueChanged

EditValue

RepositoryItemPopupBase Class

RepositoryItemPopupBase Members

DevExpress.XtraEditors.Repository Namespace