Hello:
Refer to the code (zipped file) you provided in
http://www.infragistics.com/community/forums/t/93426.aspx
The Cell Borders looks to be two pixels (I'm assuming one for each side of adjacent cells), how can I have one pixel so the grid lines look razor thin?
I was looking at BorderThickness in:
<Style x:Key="CellStyle" TargetType="{x:Type igDP:CellValuePresenter}"> <Setter Property="BorderBrush" Value="{DynamicResource CellBorderBrush}" /> <Setter Property="BorderThickness" Value="0.25" />
...
but it simply fades the lines a bit
Thx
Hello,
Thank you for your post. I have been looking into it and I can suggest you set the BorderThickness to "0.25,0,0,0.25". This way the Borders will look as you want. Please let me know if this helps you or you have further questions on this matter.
Looking forward for your reply.
Ya, I was looking at that idea myself, but the effect is not quite right. As the application is resized the grid lines fade in and out. Also the intersection of the lines are thicker then the lines themselves when the app is resized small. Also the grid lines do not exactly line up with the header lines, I can see its off by one or two pixels. (The finish looks a bit unprofessional)
Is there a way to have the grid draw the lines and the cells have zero border? Or is there another set of properties I can look at?
I have been testing the sample, but I didn't see fade in/out when resizing or thicker intersections when small sized, so could you please send us screenshots of the results you have and tell us the exact steps we need to follow in order to reproduce your issue. As for the "zero border", you can set the "CellStyle"'s BorderThickness to 0, this way there won't be any cell borders.
This solution will have to work for now until I can get back to it.
Thanks for your help
Thank you for your feedback. I am glad that you resolved your issue and I believe that other community members may benefit from this as well.
Thanks again.