How Do I Hide wpf datagrid row selector

前端 未结 4 1753
陌清茗
陌清茗 2020-12-08 12:36

I\'m using the WPF DataGrid control to show some details and a select button, and I don\'t need the gray selector column down the left-hand side. It\'s also ruining the beau

4条回答
  •  一向
    一向 (楼主)
    2020-12-08 13:00

    Use the RowHeaderWidth property:

    
    

    Note that you can also specify a style or template for it also, should you decide you really do like it and want to keep it because you can do something cool with it.

提交回复
热议问题