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!
Thanks for the reply, I tried it. It now works as expected. :)
Hi jathyal -
The reason that the text appears alligned to the bottom is that the custom style for the XamTextEditor in the sample is setting it's Padding property to 0,10,0,0 which is adding 10 pixels of padding to the top of the XamTextEditor in each cell but nothing to the bottom. If you instead set the Padding so that this additional height is equally distributed to the top and bottom (e.g., 0,5,0,5) the cell contents will be vertically centered.
Joe
I've noticed in this sample that all the text is aligned to the BOTTOM - LEFT.
I was wondering where we could change that by using a line something like this:
<Setter Property = "VerticalContentAlignment" Value="Center"/>
I tried inserting code like this in various places but to no avail.
Thanks in advance
This is great, thanks guys!
"joem" wrote in message news:19849@forums.infragistics.com... Hi - Our Visual Design team is going to look into creating a sample style that demonstrates how to achieve this look and will let you know when this is available. Joe http://forums.infragistics.com/forums/p/3825/19849.aspx#19849