Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
85
Column "splitters" and row spacing
posted

Hi guys,

I have two questions: 

1) Which property do I set, or what style do I have to customize in order to display vertical splitters between columns in the grid?

2) How do I change the spacing between rows in a grid?

By setting the BorderBrush property for the DataRecordCellArea, I get a border around an entire record. When I do this, the spacing between the records becomes very evident, so it looks a bit strange...

I have tried setting the BorderThickness property for the CellValuePresenter, but this does not provide the desired result because there seems to be some margin or padding applied somewhere making the CellValuePresenter not stretch vertically to the DataRecordCellArea...

Basically, I want my gird to look as much as possible like the Excel grid.

Thanks!