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.v19.2.dll
Declaration
[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool CloseEditorOnLostFocus { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Boolean | **true** | 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:
Library | Object Type | Path to CloseEditorOnLostFocus |
---|---|---|
WinForms Controls | GanttControl |
|
ResourcesTree |
|
|
TreeList |
|
|
Reporting | XRDesignFieldList |
|
XRDesignReportExplorer |
|
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CloseEditorOnLostFocus property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.