Add block count to groups
This commit is contained in:
@@ -33,7 +33,10 @@
|
|||||||
<TextBlock Text="{Binding DescriptiveName}" />
|
<TextBlock Text="{Binding DescriptiveName}" />
|
||||||
<HierarchicalDataTemplate.ItemTemplate>
|
<HierarchicalDataTemplate.ItemTemplate>
|
||||||
<HierarchicalDataTemplate ItemsSource="{Binding Value.Values}">
|
<HierarchicalDataTemplate ItemsSource="{Binding Value.Values}">
|
||||||
<TextBlock Text="{Binding Path=Key, Converter={StaticResource DefinitionConverter}, Mode=OneWay}" />
|
<TextBlock>
|
||||||
|
<Run Text="{Binding Path=Key, Converter={StaticResource DefinitionConverter}, Mode=OneWay}" />
|
||||||
|
<Run Text="{Binding Path=Value.Count, StringFormat=' ({0} blocks)', Mode=OneWay}" />
|
||||||
|
</TextBlock>
|
||||||
<HierarchicalDataTemplate.ItemTemplate>
|
<HierarchicalDataTemplate.ItemTemplate>
|
||||||
<DataTemplate DataType="{x:Type blocks:BlockViewModel}">
|
<DataTemplate DataType="{x:Type blocks:BlockViewModel}">
|
||||||
<TextBlock Text="{Binding Path=Name}" />
|
<TextBlock Text="{Binding Path=Name}" />
|
||||||
|
Reference in New Issue
Block a user