Back to Devexpress

BaseSpinEdit.CloseUp Event

windowsforms-devexpress-dot-xtraeditors-dot-basespinedit-e5a95e12.md

latest2.7 KB
Original Source

BaseSpinEdit.CloseUp Event

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

Declaration

csharp
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public override event CloseUpEventHandler CloseUp
vb
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Overrides Event CloseUp As CloseUpEventHandler

Event Data

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

PropertyDescription
AcceptValueGets or sets a value indicating whether CloseUpEventArgs.Value should be accepted or discarded.
CloseModeGets a value indicating how the popup editor’s dropdown window was closed.
PressedButtonReturns which popup button has been pressed by an end-user.
ValueGets 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

QueryCloseUp

Closed

BaseSpinEdit Class

BaseSpinEdit Members

DevExpress.XtraEditors Namespace