I have a ListView
that is grouped with headers. I have one UserControl for the header <local:MyHeaderUserControl />
that displays the header using a text block <TextBlock Text="{Binding Key}" />
and another UserControl for each entry <local:MyListItemUserControl>
that binds to the listed object.
I want to display them full width with no margins. ListView
in UWP inserts annoying margins, divider lines and by default aligns left and it is not clear which properties I have to set on which of the many possible templates will remove those.
What is the minimal template for doing this?
Note: I have already worked this out and am hoping to post for reference when I can but am happy to let someone else get the karma if they get there first ;)