ListView大量图像 [英] ListView Large amount of images

查看:115
本文介绍了ListView大量图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

用数千个图像填充ImageList的最快方法是什么?

使用imagelist.add(字符串键,图像图像)填充需要很长时间.

当listview设置为虚拟时,也许有一些填充大图像集合的示例吗?

结果,我将这些图像显示在列表视图中.

Hello,

what is the fastest way to populate ImageList with thousands of images?

With imagelist.add(string key, image image) population takes very long time.

Maybe there is some example with populating largeimage colection when listview is set to be virtual?

In result i display those images in a listview.

thank you in advance for any info.

推荐答案

^ ]讨论了一种有趣的解决方法,该方法使用AddRange 使Listview更快.
This[^] talks about an interesting workaround that uses AddRange to make the Listview faster.


这篇关于ListView大量图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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