Skip to main content

RepositoryItemPopupContainerEdit.CloseOnOuterMouseClick Property

Gets or sets whether the current dropdown control must be closed when: 1) clicking on a control within another form; 2) clicking outside its bounds, and at the same time, within another non-DevExpress popup window that belongs to the current dropdown control.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.2.dll

Declaration

[DefaultValue(true)]
[DXCategory("Behavior")]
public virtual bool CloseOnOuterMouseClick { get; set; }

Property Value

Type Default Description
Boolean true

true if the dropdown control is closed on a click outside its bounds; otherwise, false.

Remarks

If the property is set to false, the PopupContainerEdit’s dropdown is not closed when:

  • clicking on a control within another form;
  • selecting a value in a non-DevExpress popup control that belongs to the PopupContainerEdit’s dropdown.

When the PopupContainerEdit’s dropdown contains a DevExpress popup control, selecting a value in the DevExpress popup control doesn’t close the PopupContainerEdit’s dropdown, regardless of the CloseOnOuterMouseClick setting.

See Also