I need to add a vertical separator of some kind in a WPF XAML ListView. Currently my code looks like this:
<GridViewColumn Width="10" x:Name="seperator">
<GridViewColumn.CellTemplate>
<DataTemplate>
<Border BorderBrush="#FF000000" BorderThickness="1,0,1,0" Margin="-6,-2,-6,-2">
<Grid Background="Black" Margin="-1, -14, -1, -14"/>
</Border>
</DataTemplate>
</GridViewColumn.CellTemplate>
</GridViewColumn>
It feels like it should be easier to either fill the background of the column or set a border on the right/left. The results I've found seem to be dynamic or for rows.