TreeViewControl.ShowEditor(Boolean) Method
Activates an in-place editor within the focused node. The optional parameter allows you to automatically select all text within the editor.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v26.1.dll
Declaration
Optional Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| selectAll | Boolean | False |
|
Remarks
Note
In-place editors can be activated only when the AllowEditing property is set to true.
Call the ShowEditor(true) method to activate the in-place editor within the focused node and select all content. Pass false (or use the parameterless ShowEditor() overload) to activate the editor without automatic content selection.
treeViewControl.FocusedRowHandle = 0;
treeViewControl.ShowEditor(true);
See Also