I need to show gridlines in a data grid, also a passing-through grid.
I am not able to do so as, by default, gridlines only pass through data (not all the way to the bottom of the grid).
One way I can think of is to have a styling datagrid header and place the border inside datatemplate. But manually doing it, there may be an issue of alignment of gridlines and the border.
How do I elegantly achieve the same?
Check out an answer to Stack Overflow question Vertical gridlines in a ListView.
I tested the approach in that post, and it will solve the issue of gridlines, by drawing them beyond data. However, in applying a new template to
you will loose the headers.