Articles in this section
Category / Section

How to change the font of all nodes in the WinForms TreeViewAdv at runtime?

1 min read

Change the font style

The font of the nodes in the TreeViewAdv can be changed by using the following code.


private void button1_Click(object sender, System.EventArgs e)
   this.treeViewAdv1.Font=new Font("Arial",13);


Private Sub button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button1.Click
   Me.treeViewAdv1.Font = New Font("Arial",13)
End Sub


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