<HierarchicalDataTemplate DataType="{x:Type sotc:Category}" ItemsSource="{Binding Path=NoteList}"> <TextBlock Text="{Binding Path=Name}" Forground="{Binding Path=Name, Convert={StaticResource Converter1}}"/> </HierarchicalDataTemplate>
<HierarchicalDataTemplate DataType="{x:Type sotc:Note}"> <TextBlock Text="{Binding Path=Name}" /> </HierarchicalDataTemplate>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)