windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitempopupcontaineredit-de8e4bfc.md
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.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(true)]
[DXCategory("Behavior")]
public virtual bool CloseOnOuterMouseClick { get; set; }
<DXCategory("Behavior")>
<DefaultValue(True)>
Public Overridable Property CloseOnOuterMouseClick As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true if the dropdown control is closed on a click outside its bounds; otherwise, false.
|
If the property is set to false , the PopupContainerEdit’s dropdown is not closed when:
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
RepositoryItemPopupContainerEdit Class