I have a problem with group header in the Visual Studio 2015 designer. The group header do show up in while running my Windows 10 UWP app.
I have the following XAML:
<RelativePanel Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<ListView x:Name="TracksOverview"
IsItemClickEnabled="True"
ItemsSource="{Binding Source={StaticResource TracksOverviewSource}}"
ItemTemplate="{StaticResource TrackOverview}"
RelativePanel.AlignBottomWithPanel="True"
RelativePanel.AlignTopWithPanel="True"
RelativePanel.AlignLeftWithPanel="True">
<ListView.GroupStyle>
<GroupStyle>
<GroupStyle.HeaderTemplate>
<DataTemplate>
<TextBlock Text="1900-2000"
Foreground="White" />
</DataTemplate>
</GroupStyle.HeaderTemplate>
</GroupStyle>
</ListView.GroupStyle>
</ListView>
</RelativePanel>
I've taken a screenshot of my designer and of my program.
As you can see the header doesn't show up int the designer view (left) but does while running (right).
First I thought there is something wrong with my binding but, it doesn't even show the static text, it does reserve some space for it.
Thanks in advance, Rick