WPF包装面板一次概述了4列
我有一个列表视图,其中包含一个环绕面板作为其 itemsPanelTemplate。环绕面板中的项目将以 28 个为一组显示在页面中。我想在每 28 个项目或每 4 列周围绘制一个框,以便您更轻松地“预览”页面布局。
如果不是一个盒子,每第四列之后的垂直线就可以了。感谢您花时间阅读我的问题。
I have a list view with a wrap panel as its itemsPanelTemplate. The items in the wrap panel are going to be displayed in pages in groups of 28. I would like to draw a box around every 28 items, or every 4 columns so that you "preview" the page layout more easily.
If not a box, vertical lines after every 4th column would do. Thank you for taking the time to read my question.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
为了为每个列表视图项(每个 28 个项)添加边框,您可以像这样定义 ItemContainerStyle。
In order to add a border for each list view item (28 items each), you can define the ItemContainerStyle like this.