Articles in this section
Category / Section

How to programmatically select a node in a WinForms TreeViewAdv control?

1 min read

Select the node

Set the HideSelection property of the TreeViewAdv control to False and set the SelectedNode property of TreeViewAdv

C#

this.treeViewAdv1.SelectedNode = this.treeViewAdv1.Nodes[1].Nodes[0];

VB

Me.treeViewAdv1.SelectedNode = Me.treeViewAdv1.Nodes(1).Nodes(0)

Reference link: https://help.syncfusion.com/windowsforms/treeview/treenodeadvcustomization#nodeselection

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied