Back to Devexpress

PopupBaseEdit.AllowMouseClick(Control, Point) Method

windowsforms-devexpress-dot-xtraeditors-dot-popupbaseedit-dot-allowmouseclick-x28-system-dot-windows-dot-forms-dot-control-system-dot-drawing-dot-point-x29.md

latest1.9 KB
Original Source

PopupBaseEdit.AllowMouseClick(Control, Point) Method

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

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Parameters

NameTypeDescription
controlControl

A Control object representing the clicked control.

| | p | Point |

A Point structure specifying the mouse pointer coordinates.

|

Returns

TypeDescription
Boolean

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

|

Remarks

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

See Also

PopupBaseEdit Class

PopupBaseEdit Members

DevExpress.XtraEditors Namespace