开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜