开发者

PieSeries in a listboxItem

开发者 https://www.devze.com 2022-12-28 10:21 出处:网络
I have a listboxitem whose datatemplate contains a pieseries. The listbox is bound to the class having a dictionary member. I want to bind that dictionary member to the pieseries. I have tried couple

I have a listboxitem whose datatemplate contains a pieseries. The listbox is bound to the class having a dictionary member. I want to bind that dictionary member to the pieseries. I have tried couple of ways, but it did not work. it is generating blank pieseries. The pieseries datacontext is being set to the开发者_C百科 datacontext of the listboxitem and still it is not working.

let me know if you have any suggestions.


Got it working after long struggle just by writing a converter to do the calculation which were there in the dictionary.

0

精彩评论

暂无评论...
验证码 换一张
取 消