How to right align text in a DataGrid column header in xaml?

前端 未结 2 1461
暖寄归人
暖寄归人 2021-02-19 02:37

I have a WPF DataGrid with a column header as follows:


     ...

         


        
2条回答
  •  北海茫月
    2021-02-19 02:59

    Set the HorizontalContentAlignment of the header using the HeaderStyle:

    
        
    
    

提交回复
热议问题