Hi,
Has anyone found the property which sets the background colour for the Cell Presenter for a selected row? I have set BackgroundSelectedProperty and BackgroundFieldSelectedProperty which change the background to the one I want when an individual cell and fiels are selected but when I select an entire row the background color is set to white/transparent. I can't find an obvious property and hate the idea of changing the shift+space logic to select every cell in a row rather that do the much simpler grid.SelectedItems.Records.Add(... );
Thanks
Muumi
Thanks, that worked well.
Hello Muumi,
You're in luck, I just posted a blog that goes into detail concerning setting colors in the XamDataGrid. The blog includes a sample project. In the project look for the DataTrigger in the MainView.xaml. The code is setting the CellValuePresenter ForegroundStyle on a DataTrigger when the Record.IsSelected property is true.
http://forums.infragistics.com/blogs/curtis_taylor/archive/2010/10/26/xamdatagrid-101-part-2.aspx
Thank you!