WPF ListView Inactive Selection Color 您所在的位置:网站首页 wpf的listview WPF ListView Inactive Selection Color

WPF ListView Inactive Selection Color

#WPF ListView Inactive Selection Color| 来源: 网络整理| 查看: 265

The answer will in some cases solve the problem, but is not ideal as it breaks when the control is disabled/readonly and it also overrides the color schemes, rather than taking advantage of them. My suggestion is to add the following in the ListBox tags instead:

What this will do is set the Highlight background color on the list box item whenever it is selected (regardless of the control state).

My answer is based on help from the answer already given, along with the following blog: http://blogs.vbcity.com/xtab/archive/2009/06/29/9344.aspx



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有