How to: Focus a specific node

The following example shows how to move focus to a specific node. To do this, the requried node is assigned to the TreeList.FocusedNode property.

// Move focus to the first root node.
treeList1.FocusedNode = treeList1.Nodes[0];