如何禁用 ListView 的 Hover 和 Tile 效果? [英] How to disable ListView's Hover and Tile effects?
本文介绍了如何禁用 ListView 的 Hover 和 Tile 效果?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想禁用 ListView 控件的某种推送效果和悬停背景颜色效果的 Tile 效果,我该怎么做?
I want to disable Tile effect that is some kind of pushed effect and hover background color effect of ListView control, how can i do that?
谢谢
推荐答案
看这个问题:禁用列表视图的交叉幻灯片选择
您还可以对模板进行更改以删除任何视觉状态和装饰 - 转到设计器并右键单击您的 ListView/编辑其他模板/编辑生成的项目容器 (ItemContainerStyle)/编辑副本... - 这将提取您可以使用您喜欢的方法修改的模板.
You can also make changes to the template to remove any visual states and adornments - go to the designer and right click your ListView/Edit Additional Templates/Edit Generated Item Container (ItemContainerStyle)/Edit a Copy... - that will extract the template you can modify using your preferred method.
这篇关于如何禁用 ListView 的 Hover 和 Tile 效果?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文