DataGrid's selected row color when inactive

前端 未结 11 1329
轻奢々
轻奢々 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-05 00:14

    You should define section "DataGrid.CellStyle" inside your DataGrid like this:

        
            
                
            
        
    

提交回复
热议问题