如何检查BitmapImage实例是否已初始化? WPF
我尝试在循环中使用 BitmapImage 类的实例,但有时我会收到 BitmapImage 未初始化的错误消息。如何在使用BitmapImage之前检查它是否已初始化?
I try to use instances of BitmapImage class in circle but sometimes I receive error messages that BitmapImage is not initialized. How to check that BitmapImage is initialized before use it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
处理位图时常用的事件有 2 个,其中 1 个在图像成功打开时触发,另一个在图像失败时触发;
There 2 Events commonly used when working Bitmaps, 1 fires of when Image successfully opened and another when Image failed;