windowsforms-devexpress-dot-xtraeditors-dot-basespinedit-e5a95e12.md
Occurs when the BaseSpinEdit-derived control’s pop-up is about to close.
Namespace : DevExpress.XtraEditors
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public override event CloseUpEventHandler CloseUp
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Overrides Event CloseUp As CloseUpEventHandler
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. |
Before the CloseUp event is raised, the BaseSpinEdit.QueryCloseUp event occurs. Handle it to cancel pop-up closing. If the BaseSpinEdit.QueryCloseUp event was canceled, the CloseUp event does not occur.
After the CloseUp event, the BaseSpinEdit.Closed event occurs. This event indicates a pop-up was successfully closed.
See Also