Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BaseSpinEdit.CloseUp Event

Occurs when the BaseSpinEdit-derived control’s pop-up is about to close.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
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.

#Remarks

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