In order to make only one line bold at runtime in WPF you have to give the object containing that line a name, and then edit it in the code behind.
If you want to make a line inside a TreeViewItem bold, you could do something like this in the XAML:
<TreeViewItem Header="Item 1" >
<TextBlock Name="BoldText">Bold Text</TextBlock>
<TreeViewItem Header="Item 2" >
and then something like this in the code behind:
BoldText.FontWeight = FontWeights.Bold;
As this is not related to Prism, you might get better support in the
I hope you find this helpful.
Guido Leandro Maliandi