Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Win.Navigation

#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