RepositoryItemPopupBase.SuppressMouseEventOnOuterMouseClick Property

Allows you to suppress mouse events when clicking outside an open popup menu.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[DefaultValue(false)]
[DXCategory("Events")]
public virtual bool SuppressMouseEventOnOuterMouseClick { get; set; }
<DefaultValue(False)>
<DXCategory("Events")>
Public Overridable Property SuppressMouseEventOnOuterMouseClick As Boolean

Property Value

Type Default Description
Boolean

false

true, to suppress mouse events; otherwise, false.

Remarks

When clicking outside an open menu, the menu closes and a UI element (e.g., button) underneath the pointer is clicked. When the SuppressMouseEventOnOuterMouseClick property is enabled, mouse events for elements on the form surface are intercepted if a popup menu is open.

See Also