I am setting the cellstyle, and its only effecting every other row?
I noted in this:
http://forums.infragistics.com/silverlight/articles/conditional-formatting-with-the-xamwebgrid.aspx
only the unshaded rows are set in the picture, which is the same behavior that i am seeing.
What needs to be done?
thanks
Hi,
In the CellControl's ControlTemplate, the Background property is bound to an element in the template, that is displayed, when the Cell isn't an Alternate Cell.
So, you have two options,
1. turn off AlterateRows via the IsAlternateRowsEnabled property.
2. use Blend to generate a new Style for the CellControl, and modify the Template. Then use that style.
There is a help article that demonstrates how to do this in blend:
http://help.infragistics.com/Help/NetAdvantage/Silverlight/2009.1/CLR3.5/html/SL_DesignersGuide_Editing_Style_Properties_Using_Expression_Blend.html
Hope this helps,
-SteveZ