Back to Devexpress

TimeEdit.Closed Event

windowsforms-devexpress-dot-xtraeditors-dot-timeedit-72abacd5.md

latest2.6 KB
Original Source

TimeEdit.Closed Event

Occurs when the TimeEdit control’s pop-up window is completely closed and allows you to specify exactly how it was closed.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(true)]
[DXCategory("Events")]
[EditorBrowsable(EditorBrowsableState.Always)]
public override event ClosedEventHandler Closed
vb
<Browsable(True)>
<EditorBrowsable(EditorBrowsableState.Always)>
<DXCategory("Events")>
Public Overrides 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 pop-up window has been completely closed. The event’s ClosedEventArgs.CloseMode parameter specifies how the pop-up window was closed (by submitting or discarding an option, by clicking an assigned shortcut, by clicking the dropdown button, by pressing the ESC 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 the last of those events which subsequently occur after the TimeEdit control’s pop-up window starts to close. It follows the TimeEdit.QueryCloseUp and TimeEdit.CloseUp events.

See Also

QueryCloseUp

CloseUp

TimeEdit Class

TimeEdit Members

DevExpress.XtraEditors Namespace