Skip to main content
All docs
V22.1

DateTimeOffsetEdit.CloseUp Event

Fires when the editor drop-down menu is closing and allows you to decide whether changes made by a user should be accepted. See the PopupBaseEdit.CloseUp event for an example.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v22.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[Browsable(true)]
[DXCategory("Events")]
[EditorBrowsable(EditorBrowsableState.Always)]
public override event CloseUpEventHandler CloseUp

Event Data

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

Property Description
AcceptValue Gets or sets a value indicating whether CloseUpEventArgs.Value should be accepted or discarded.
CloseMode Gets a value indicating how the popup editor’s dropdown window was closed.
PressedButton Returns which popup button has been pressed by an end-user.
Value Gets or sets a value to assign to the editor’s edit value.
See Also