I'm using a CellStyle to bind the cell backgrounds to a property on the bound item. The item exposes a color as a string and I'm using a converter to convert this into a SolidColorBrush.
At runtime this seems to produce unhandled exceptions:
WrappedException: Error HRESULT E_FAIL has been returned from a call to a COM component
Stepping through the code it seems that the converter is working correctly, so this appears to be an issue with the grid.
I did some searching and found this thread
which has a sample application that shows how this can be done in WPF. It's very similar to my approach. Is there a different approach for Silverlight?
I have a sample app but can't attach it.