2
Answers

tree view control - selected node Parent node should be bold

Photo of sairam

sairam

16y
10k
1

I have a tree control with nine parent nodes. I binded some child nodes to each parent node manually. I have two questions.

 

1. HOw to make Parent nodes bold?

2. If not , If i select a child node, only parent node of that should be bold.

 

Help me

 

thanks

 

Answers (2)

0
Photo of Jan Montano
NA 2k 0 16y
Try this:

treeView1.Nodes(1).NodeFont = New Font(TreeView1.Font, FontStyle.Bold)
Accepted
0
Photo of sairam
NA 69 0 16y

Perfect Answer Mr. Montano. Thanks a Ton.

 

Happy Coding :-)