Separate items in ListView using line in wpf c#
How to separate betw开发者_开发知识库een items BY Lines in ListView control in WPF ?
You can change the ItemTemplate for the ListBox, given the little information you have provided, just a quick example:
<ListBox>
<ListBox.ItemTemplate>
<DataTemplate>
<Border BorderBrush="Black" BorderThickness="0.5">
<TextBlock Text={Binding}/>
</Border>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
You will have to modify it to suit your needs.
精彩评论