Back to Devexpress

RepositoryItemPopupContainerEdit.CloseOnLostFocus Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitempopupcontaineredit-28c93d9e.md

latest1.9 KB
Original Source

RepositoryItemPopupContainerEdit.CloseOnLostFocus Property

Obsolete. Gets or sets whether to close the popup window when another form is opened.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
Booleantrue

true if the dropdown is closed when another form is opened; otherwise, false.

|

Remarks

This property is obsolete. Use the RepositoryItemPopupContainerEdit.CloseOnOuterMouseClick property to prevent closing the dropdown window when the user clicks outside it.

See Also

CloseOnOuterMouseClick

RepositoryItemPopupContainerEdit Class

RepositoryItemPopupContainerEdit Members

DevExpress.XtraEditors.Repository Namespace