Listview组背景和边框 [英] Listview group background and border

查看:75
本文介绍了Listview组背景和边框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在列表视图中围绕组添加边框和背景颜色... 我只能访问标题模板,因此如果我放置一个边框,那么它只会放置标题。  我想要标题和元素周围的边框,所以我
可以让它们看起来像是在盒子/瓷砖内...



这可能吗?


www.emadibrahim.com

解决方案

您可以使用Visual Studio中的DOM资源管理器跟踪样式并覆盖它们。 选择DOM Explorer,然后选择元素...单击UI中的元素(对于可以使用模拟器的单个监视器系统),然后选择
'跟踪样式'


-Jeff


How do I put a border and background color around the group in a listview...  I only have a access to the header template, so if I put a border around that it only puts around the header.  I want the border around the header and elements, so I can make them look like they are inside a box/tile...

Is that possible?


www.emadibrahim.com

解决方案

You can trace down the styles using the DOM explorer in Visual Studio and override them.  Choose DOM Explorer and then select element... Click on the element in the UI (for single monitor systems you can use the simulator) and then choose 'trace styles'

-Jeff


这篇关于Listview组背景和边框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆