Skip to main content

BaseSpinEdit.QueryPopUp Event

Occurs each time a BaseSpinEdit control’s pop-up is to be displayed.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

Declaration

[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public override event CancelEventHandler QueryPopUp

Event Data

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.

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 BaseSpinEdit.Popup event occurs.

To display a BaseSpinEdit control’s pop-up window via code, use the BaseSpinEdit.ShowPopup method.

See Also