Back to Devexpress

TreeListOptionsBehavior.CloseEditorOnLostFocus Property

windowsforms-devexpress-dot-xtratreelist-dot-treelistoptionsbehavior-2f226e8a.md

latest1.9 KB
Original Source

TreeListOptionsBehavior.CloseEditorOnLostFocus Property

Gets or sets whether the active editor is automatically closed when the Tree List loses focus.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList

Declaration

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

Property Value

TypeDefaultDescription
Booleantrue

true if the active editor is automatically closed when the Tree List loses focus and any changes made to the edited cell’s content are saved; otherwise, the cell’s editor isn’t closed.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to CloseEditorOnLostFocus
TreeList

.OptionsBehavior .CloseEditorOnLostFocus

|

See Also

TreeListOptionsBehavior Class

TreeListOptionsBehavior Members

DevExpress.XtraTreeList Namespace