Skip to main content
All docs
V26.1
  • TreeViewControl.ShowEditor() Method

    Activates an in-place editor within the focused node.

    Namespace: DevExpress.Xpf.Grid

    Assembly: DevExpress.Xpf.Grid.v26.1.dll

    Declaration

    public void ShowEditor()

    Remarks

    Note

    In-place editors can be activated only when AllowEditing is set to true.

    Call the ShowEditor to activate the in-place editor for the focused node in code. The ShowEditor fires the ShowingEditor event that you can handle to prevent the editor from being activated. The TreeViewControl fires the ShownEditor event immediately after editor activation.

    To select all text within the editor automatically upon activation, call the ShowEditor(Boolean) overload.

    treeViewControl.FocusedRowHandle = 0;
    treeViewControl.ShowEditor();
    
    See Also