TreeViewControl.ActiveEditor Property
Gets the active in-place editor within the TreeViewControl node.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v26.1.dll
Declaration
Property Value
| Type | Default | Description |
|---|---|---|
| BaseEdit | null | The active in-place editor; returns |
Remarks
Enable the AllowEditing property to allow users to edit node values.
Use the ActiveEditor property to access the active in-place editor within the TreeViewControl node. To activate an editor in code, call the ShowEditor() or ShowEditor(Boolean) method.
Example: Access the Active Editor
The following example activates an in-place editor in the focused node and modifies the node’s value:
treeViewControl.ShowEditor();
if (treeViewControl.ActiveEditor != null)
treeViewControl.ActiveEditor.EditValue = "New Value";
treeViewControl.CloseEditor();
See Also