countrymeister
asked on
How to change the background color of a grid row in Silverlight
I have a Silverlight grid to which I dynamically add rows.
Based on the value of an object I need to set the background color of that row.
How can I do this programmatically.
<Grid x:Name="gridA" HorizontalAlignment="Left" Grid.RowSpan="99" Grid.ColumnSpan="99" VerticalAlignment="Top" ShowGridLines="True" >
</Grid>
Code behind
RowDefinition rowDef = new RowDefinition() { Height = GridLength.Auto };
Based on the value of an object I need to set the background color of that row.
How can I do this programmatically.
<Grid x:Name="gridA" HorizontalAlignment="Left"
</Grid>
Code behind
RowDefinition rowDef = new RowDefinition() { Height = GridLength.Auto };
http://stackoverflow.com/questions/4945584/how-to-change-the-background-color-of-a-silverlight-datagridrow
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.