Solution 1:
What about setting GridLinesVisibility="None"
?
<DataGrid GridLinesVisibility="None">
...
<DataGrid>
Solution 2:
You could also do it this way
dataGrid.GridLinesVisibility = DataGridGridLinesVisibility.None;
What about setting GridLinesVisibility="None"
?
<DataGrid GridLinesVisibility="None">
...
<DataGrid>
You could also do it this way
dataGrid.GridLinesVisibility = DataGridGridLinesVisibility.None;