windowsforms-devexpress-dot-xtraeditors-dot-tokenedit-893c249c.md
Fires after the drop-down window is closed and gets the reason for closure.
Namespace : DevExpress.XtraEditors
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DXCategory("Events")]
public event ClosedEventHandler Closed
<DXCategory("Events")>
Public Event Closed As ClosedEventHandler
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. |
The drop-down window can be opened if the following options are enabled:
You can also use the MaxTokenCount property to specify the maximum number of tokens that the user can select. If this value is reached, the drop-down window is not opened.
You can call the ShowPopup() method in code to open the drop-down window.
The editor raises the following events before and after the drop-down window is opened:
When a user selects a token, the drop-down window is closed. You can call the ClosePopup() method in code to close the drop-down window.
The editor raises the following events before and after the drop-down window is closed:
Closed event.See Also