WPF DataGrid - Why the extra column

前端 未结 4 508
轻奢々
轻奢々 2021-01-03 18:59

I have a WPF app that uses DataGrid to display some data. When I run the program there is an additional column as shown here:

4条回答
  •  -上瘾入骨i
    2021-01-03 20:02

    The area on the left that you are seeing is the Row Headers. Set the HeadersVisibility to either "Column" or "None" (depending on which you want)

提交回复
热议问题