WPF ListView - how do i set selected item background colour?

前端 未结 2 2068
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-28 18:50

I currently have this, but it only work for the foreground colour.

Any help would be apriciated :D


    

        
2条回答
  •  自闭症患者
    2020-12-28 19:19

    It is the Border sub-element of the ListViewItem named "Bd" which handles background painting.

    
    

提交回复
热议问题