0
将图片添加到列表框的最佳方式是什么?Windows Phone 7将图片添加到列表框的最佳方式?
我有大约10 RSS项目,什么是包含图像的URL(所有图片为300 * 300像素) 约300图片
我的坏算法是下一个:
1, download all xml file, and parse all with XDocument (i have then title and the image url)
2, using a datatemplate with an image and a textblock with Binding
3, lb.ItemsSource=alldatas;
这是很慢和laggy算法,在WPF7中做这件事的正确方法是什么?
我喜欢使用virtualizingstackpanel,但我不知道如何从代码中使用virtualizingstackpanel。你能帮我吗? – lacas