I notice one thing right away – the GroupStyle.HeaderTemplate
will be applied to a CollectionViewGroup
, so your DataTemplate
should probably look like this:
<GroupStyle>
<GroupStyle.HeaderTemplate>
<DataTemplate>
<TextBlock FontSize="15" FontWeight="Bold" Text="{Binding Name}"/>
</DataTemplate>
</GroupStyle.HeaderTemplate>
</GroupStyle>
CollectionViewGroup.Name
will be assigned the value of Status
for that group.