Styling DataGrid

Sep 14, 2008 at 5:06 PM
First can I style DataGrid in the same way as ListView?  For listView I use :

<

 

Style x:Key="{x:Type ListView}" TargetType="ListView">

 

 

 

<Style x:Key="{x:Type GridViewColumnHeader}" TargetType="GridViewColumnHeader">

 

 

 

<Style x:Key="{x:Type ListViewItem}" TargetType="ListViewItem">

 


If where can I find out how for DataGrid.
Coordinator
Sep 15, 2008 at 6:32 PM
See this blog, http://blogs.msdn.com/jaimer/archive/2008/08/13/datagrid-part3-styling.aspx and this one, http://blogs.msdn.com/vinsibal/default.aspx, for styling examples as well as other how-to's and samples on the DataGrid.