Please help me understand DataGrid. Still now I used ListView.

Feb 25, 2009 at 2:19 PM
  Hello.I have some questions about customizing DataGrid. Still now I used ListView.Please help me understand how DataGrid works:
   1) To customize a row in ListView I modified ItemContainerStyle. What I must modify using DataGrid?
   2) Why when I Edit the Style (RowHeader for example) the Style is empty. I must write XAML? It is compatible with Expression Blend?
   3) Why the first column isn't starting from the left 0. It lets space for RowHeader.How I disable it?
Feb 25, 2009 at 6:54 PM
Hi johnnyalex,

1) You can use RowStyle (this property forwards to ItemContainerStyle).
2) I'm not sure that I understand your question.  You should be able to edit Styles in either XAML or code, and they should be compatible with Expression Blend and the Visual Studio WPF Designer (Cider)
3) You can turn off the row header column by setting the HeadersVisibility property to Column.