I'm sure there's some simple method I'm missing, but here's my problem:
How can I change a row's background color based on the value of data in that row? (E.g. In a grid listing an inventory of parts, change the background of the rows that have 0 parts in stock.)
It seems relatively easy to do in WPF since you have access to RelativeSource.Self in the style templates, but AFAIK that's not available in Silverlight.
I'd thought about iterating through the grid manually or harnessing the OnLoadingRow event, but the former is cumbersome and the latter doesn't even seem to be an option for the Xceed DataGrid.
Any help would be appreciated.