Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you set the thickness of the horizontal gridlines in the WPF toolkit datagrid control?

I am using the WPF toolkit datagrid to display some data and want to increase the thickness of the horizontal girdlines for each row, I would have thought this would be a simple thing to do but i can't find solution.

like image 608
Matthew Avatar asked Oct 14 '22 04:10

Matthew


1 Answers

I've never done this, but I would try to set the BorderThickness of the rows via the RowStyle property. Here is some documentation about the RowStyle and for the DataGridRow.

Hope this works. A short follow up with the result would be great.

Regards

EDIT

As you can read here, you can set only e.g. the bottom property. So only the vertical bottom lines should appear.

<Setter Property="BorderThickness" Value="0, 0, 0, 5"/&gt
like image 68
DHN Avatar answered Nov 15 '22 05:11

DHN