How can I achieve the same result but with a line separating the elements?
CodePudding user response:
You could use an item container style to draw a border at the bottom of each container.
<ListView.ItemContainerStyle>
<Style TargetType="{x:Type ListViewItem}">
<Setter Property="BorderThickness" Value="0,0,0,2"/>
<Setter Property="BorderBrush" Value="Red"/>
</Style>
</ListView.ItemContainerStyle>