TreeView, by default, uses a textbox editor for editing nodes. You can, however, replace the default editor with a custom editor, whenever needed. You can specify a custom editor for nodes for each column by using the Editor property of C1TreeColumn. In addition, you can set the type of the node editor by setting the EditorType property from the C1TreeViewEditorType enum.
The following image displays both the default textbox and the custom textbox editor.
The following code snippet creates a class EditorsData that provides sample data for the editors.
The following code snippet creates a class CustomTextBox to create a custom textbox editor on the basis of the default textbox editor.
The following code snippet sets the default textbox and the custom textbox as editors in the first and the second columns, respectively.