Skip to main content

BaseSpinEdit.CloseUp Event

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.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