Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法可以删除 DataGrid 中的左上角单元格?
如果要隐藏它,只需将 RowHeadersVisible 属性设置为 false。
myDataGridTableStyle.RowHeadersVisible = false;
如果你想改变行为:
关联
希望能帮助到你
RowHeadersVisible 属性的 MSDN 属性