开发者

How to set difault image in list box

开发者 https://www.devze.com 2023-03-26 06:58 出处:网络
I have a list box in my App and images are loading to the list box by using web request.so if there is a lag occur during the image loading i have to show a开发者_开发问答 loading image or a default i

I have a list box in my App and images are loading to the list box by using web request.so if there is a lag occur during the image loading i have to show a开发者_开发问答 loading image or a default image.How can i set default images to the list box.


Why don't you have a stackpanel warpping around your image area and have background for that stackpanel. So any images that haven't load will have that background and if it's failed to load it will work too.


I would recommend you use the LowProfileImageLoader, to avoid lag, when loading many images in a list.

0

精彩评论

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