Back to Devexpress

BaseSpinEdit.QueryPopUp Event

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

latest2.0 KB
Original Source

BaseSpinEdit.QueryPopUp Event

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

Declaration

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

Event Data

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

PropertyDescription
CancelGets or sets a value indicating whether the event should be canceled.

Remarks

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

BaseSpinEdit Class

BaseSpinEdit Members

DevExpress.XtraEditors Namespace