siverlight树形图控件中的插值不起作用 [英] Interpolation in siverlight treemap control is not working

查看:73
本文介绍了siverlight树形图控件中的插值不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述







我在silverlight中使用了Treemap控件作为我的项目。我需要根据动态值填充树图中的每个单元格。所以我使用了SolidColorBrushInterpolator。



当我在Class Constructor中设置DataContext时工作正常。但我必须从数据库中获取数据并设置datacontext,所以我在一些事件处理程序中设置datacontext。那时值正确加载到树形图中,但是没有设置颜色。



你们中的任何一个可以帮帮我吗?

Hi,


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?

推荐答案

这篇关于siverlight树形图控件中的插值不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆