Click here to Skip to main content
15,947,476 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

I have used Treemap control in silverlight for my project. I need to fill each cell in the treemap with some color based on dynamic values. So I used SolidColorBrushInterpolator.

It is working fine when I set the DataContext with in Class Constructor. But i have to fetch data from Database and set the datacontext,so I am setting the datacontext in some event handlers. At that time values are loaded in treemap correctly, but colors are not set.

Can any one of you please help me?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900