Back to Devexpress

RepositoryItemPopupContainerEdit.CloseOnOuterMouseClick Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitempopupcontaineredit-de8e4bfc.md

latest2.5 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(true)]
[DXCategory("Behavior")]
public virtual bool CloseOnOuterMouseClick { get; set; }
vb
<DXCategory("Behavior")>
<DefaultValue(True)>
Public Overridable Property CloseOnOuterMouseClick As Boolean

Property Value

TypeDefaultDescription
Booleantrue

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

QueryCloseUp

QueryResultValue

CloseUp

RepositoryItemPopupContainerEdit Class

RepositoryItemPopupContainerEdit Members

DevExpress.XtraEditors.Repository Namespace