I have made a tree view and added parent and child nodes to it all using code behind, now where I am stuck is to set the font of parent nodes to BOLD while keeping
BOLD
You need to put something like this:
tb.SetValue(TextBlock.FontWeightProperty, FontWeights.Bold);
or
tb.SetValue(TextBlock.FontWeightProperty, FontWeights.Normal);
wher you see fit