Is there any documentation on styling xamDataGrid? I found a blog article that says to use Snoop, but the application didn't work on our basic scenario. I am refactoring a WPF DataGrid to a xamDataGrid and need to style the column headers, alternate row colors, and selected row.
Hello,
Thank you for your feedback. In order to change the header background of the XamDataGrid you need to create a style for the DataRecordPresenter like e.g. :
<Style TargetType="igDP:DataRecordPresenter">
<Setter Property="HeaderAreaBackground" Value="Blue"/>
</Style>
For editing the editor in the cells you need to define a style for the corresponding editor. The list of the default Editor Types for different data types you can find in the following link :
http://help.infragistics.com/NetAdvantage/WPF/2012.2/CLR4.0/?page=xamData_Default_Editor_Types_for_Different_Data_Types.html
If you need any further assistance on this matter, feel free to
The document helped with a few of the XamDataGrid templates.
How do we style the XamDataGrid Header bar? I changed the column header "buttons" with the LabelPresenter style and I want the XamDataGrid's header background to match the same color.
How do we style the "textbox" in the cells (CellValuePresenter)?
I am just checking if you require any further assistance on the matter.
Thank you for your post. I can suggest you look through the following link from our online documentation :
http://help.infragistics.com/NetAdvantage/WPF/2012.2/CLR4.0/?page=xamDataGrid_Designing_the_Look_and_Feel.html
I hope you will find the answers of all your question.
If you need any further assistance on this matter, do not hesitate to ask.