DataGrid's selected row color when inactive

前端 未结 11 1334
轻奢々
轻奢々 2020-12-04 23:31

How can I style WPF DataGrid to change the color of selected row when DataGrid lost its focus?

11条回答
  •  眼角桃花
    2020-12-04 23:59

    LATE ANSWER:

    This works in .Net 4.0, and you don't have to hardcode the color:

    
    

提交回复
热议问题