How to remove extra column Datagrid

后端 未结 7 427
一生所求
一生所求 2020-12-09 02:59

i have binded itemsource to Datatable for Datagrid . it shows extra columns how to remove it

My code :



        
7条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-09 03:41

    You can set the HorizontalAlignment to Left. As described here

    For example:

    
    

提交回复
热议问题