Category / Section
How to change the font of all nodes in the WinForms TreeViewAdv at runtime?
Change the font style
The font of the nodes in the TreeViewAdv can be changed by using the following code.
C#
private void button1_Click(object sender, System.EventArgs e)
{
this.treeViewAdv1.Font=new Font("Arial",13);
}
VB
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