BaseSpinEdit.QueryPopUp Event

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[Browsable(false)]
public override event CancelEventHandler QueryPopUp
<Browsable(False)>
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:

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