Skip to main content
Microsoft Silverlight
Home Forums Silverlight Programming Silverlight Controls and Silverlight Toolkit DataGrid - Styles/ Templates
3 replies. Latest Post by Jim Mangaly on June 23, 2008.
(0)
pmalik
Member
0 points
3 Posts
06-11-2008 2:19 AM |
I have a couple of questions regarding the Silverlight Beta 2 DataGrid control -
1. How can you get rid of the vertical grid lines in the headers? The GridlinesVisibility and VerticalGridlinesBrush properties don't seem to have any effect on the headers.
2. Is there a way to change the style of the current and selected rows? These are shown with a default light blue gradient.
Thanks in advance.
- pmalik
texmex5
Contributor
2239 points
382 Posts
06-11-2008 5:49 AM |
To get rid of the header grid lines you have to alter the template (http://msdn.microsoft.com/en-us/library/cc278066(VS.95).aspx).
I found some samples
http://blogs.msdn.com/scmorris/archive/2008/03/21/using-the-silverlight-datagrid.aspx
http://silverlight.net/forums/t/14849.aspx
06-23-2008 6:41 AM |
Thanks, texmex5. This solves my first issue. Do you know if the style/ template of the current/ selected row (with the default light blue gradient) can be modified?
Jim Mangaly
2634 points
06-23-2008 8:05 AM |
pmalik:Thanks, texmex5. This solves my first issue. Do you know if the style/ template of the current/ selected row (with the default light blue gradient) can be modified?
See my reply here: http://silverlight.net/forums/p/18761/64044.aspx#64044
Jim (http://jimmangaly.blogspot.com/)
Please MARK the replies as answers if they answered your question