I've been trying to add a Margin around my groups in a GridView so one group doesn't run into the next. I figured the best way to do this was by editing the GroupStyle's ContainerStyle. So, I added a Margin of 20 and didn't see any difference.
I added a Background color and a visible Border and don't see any visual changes in the UI at all.
<GroupStyle.ContainerStyle>
<Style TargetType="GroupItem">
<Setter Property="BorderBrush" Value="LightGray" />
<Setter Property="BorderThickness" Value="10" />
<Setter Property="Margin" Value="20" />
</Style>
</GroupStyle.ContainerStyle>
I attempted a similar exercise using the XAML GridView Grouping example project and had the same experience -- no matter what I do to the GroupStyle.ContainerStyle of the GridView, nothing seems to change visually in the UI.
I anyone else experiencing similar issues?