Removing all DataGrid row and cell borders

前端 未结 2 1041
鱼传尺愫
鱼传尺愫 2021-02-01 12:06

I want to hide (or remove) all the borders of all the rows (and subsequently cells) in my datagrid, think a basic HTML table. I\'ve looked all over and most questions seem to be

2条回答
  •  甜味超标
    2021-02-01 12:57

    You could also do it this way

     dataGrid.GridLinesVisibility = DataGridGridLinesVisibility.None;
    

提交回复
热议问题