How to Customize the Location of Custom Controls Added in the TreeNodeAdv

1 Oct 2018 / 1 minute to read

TreeNodesAdv hold controls like combo box, Calendar, Chart etc.,by using its Custom Controls feature. In the TreeNodeAdv, this custom control location can be customized by using its CustomControlLocation property. Refer to the following code examples.

//To Set Location of the CustomControl in TreeViewAdv
this.treeViewAdv1.Nodes[1].CustomControlLocation = new Point(60, 15);
'To Set Location of the CustomControl in TreeViewAdv
Me.treeViewAdv1.Nodes(1).CustomControlLocation = New Point(60, 15)