windowsforms-devexpress-dot-xtraeditors-dot-basespinedit-d3149517.md
Occurs each time a BaseSpinEdit control’s pop-up is to be displayed.
Namespace : DevExpress.XtraEditors
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public override event CancelEventHandler QueryPopUp
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Overrides Event QueryPopUp As CancelEventHandler
The QueryPopUp event's data class is CancelEventArgs. The following properties provide information specific to this event:
| Property | Description |
|---|---|
| Cancel | Gets or sets a value indicating whether the event should be canceled. |
Handle the QueryPopUp event to allow or prohibit opening the BaseSpinEdit‘s pop-up window. To do so, set the CancelEventArgs.Cancel property to the corresponding bool value.
If the QueryPopUp event was not canceled, the Popup event occurs.
To display a BaseSpinEdit control’s pop-up window via code, use the ShowPopup method.
See Also