[XAML] [UWP]如何在ListView项之间添加一行 [英] [XAML][UWP] How to add a line between ListView items
本文介绍了[XAML] [UWP]如何在ListView项之间添加一行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,我想在ListView项目之间添加一行,以便它们在视觉上更好地彼此分离。我该怎么做?
Hello, I would like to add a line between ListView items so that they are visually better seperated from each other. How can I do this?
如果我在每个项目后添加一行,那么最后一个项目后面有一行,我不想要。
If I add a line after each item then the last item has a line after it, which I don't want.
推荐答案
您好,
不要忘记在您的问题中添加标签。
Don't forget add tag to your question.
您可以将边框添加到ItemTemplate中,并仅将thikness前例发送到顶行
You can add Border into ItemTemplate and only sent thikness fore example to the top line
这篇关于[XAML] [UWP]如何在ListView项之间添加一行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文