How to make treeview node with underline
i am working for window application in this my tree view control having the files and folder and i want all file nodes with text font style as underline how can i a chive this one
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Rainer2 reputationPosted Aug 2, 2010, 5:16 AM EDT
do something like this:
Treenode nd1 = new TreeNode();
Font MyFont = new Font("Microsoft Sans Serif",8.25F,FontStyle.Underline,GraphicsUnit.Point);
nd1.NodeFont = MyFont;