A newer version of this page is available. Switch to the current version.

PopupBaseEdit.AllowMouseClick(Control, Point) Method

Indicates whether a mouse click should close this editor's popup window.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.1.dll


public override bool AllowMouseClick(
    Control control,
    Point p
Public Overrides Function AllowMouseClick(
    control As Control,
    p As Point
) As Boolean


Name Type Description
control Control

A Control object representing the clicked control.

p Point

A Point structure specifying the mouse pointer coordinates.


Type Description

true if the popup window should remain opened after clicking; otherwise, false.


This method is used by editors internally. You will have no need to use it in your applications.

See Also