Datagrid Row Padding

Nov 11, 2008 at 4:22 PM
Hi,

Is there a property that I can set for a datagrid row so that the text has equal padding on the top and bottom? 

I tried applying TextBlock.padding to the style for the DataGridCell but that did not work.

Any ideas?

Thanks,
Jon
Coordinator
Nov 12, 2008 at 2:35 PM
What about applying the style on DataGridColumn.ElementStyle and EditingElementStyle?