[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

How to change the background color of a grid row in Silverlight

Posted on 2012-04-05
2
Medium Priority
?
738 Views
Last Modified: 2012-06-27
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   };
0
Comment
Question by:countrymeister
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 22

Expert Comment

by:plusone3055
ID: 37813253
0
 
LVL 22

Accepted Solution

by:
plusone3055 earned 1000 total points
ID: 37813260
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question