BitmapImage.UriSource binding doesn't work ...
来源:互联网 发布:网络大电影制作公司 编辑:程序博客网 时间:2024/05/22 08:08
最近做WPF开发中遇到很多怪事,越发感觉WPF不是一个足够成熟的技术。
如果你的代码中还有这样的绑定:
<BitmapImage UriSource="{Binding XPath=@Icon}" />
会在运行中遇到错误Property 'UriSource' or property 'StreamSource' must be set.
需要使用一个converter将URL对象转换成ImageSource,详见http://www.wiredprairie.us/journal/2007/03/bitmapimageurisource_binding_d.html
- BitmapImage.UriSource binding doesn't work ...
- MSTest doesn’t work
- set_terminate doesn't work
- vi doesn't work
- Why dynamic_cast doesn't work ?
- File@CompanionFile doesn't work
- Ant task doesn't work in Eclipse
- RequestContext.getRequestChannelId() seems doesn't work
- ubuntu 11.10 brightness doesn't work
- adb logcat filter doesn't work
- My Backspace Key doesn't work!
- My Backspace Key doesn't work!
- Liferay color-scheme doesn't work
- Wince USB keyboard doesn't work
- ROOT: Why TStyle::SetStatFontSize() doesn't work?
- MSDTC Doesn't Work问题分析
- 貌似csdn文章搜索doesn't work
- Makefile: ifeq directive doesn't work with $*
- 终于弄明白Framework 3.5为什么在IIS的ASP.NET选项找不到?
- AT91SAM9261启动代码分析
- DB2中有关日期和时间的函数,及应用
- netbeans 方框的解决办法
- FreePBX中IVR设置的例子 - [CTI开发]
- BitmapImage.UriSource binding doesn't work ...
- JavaScript静态页面值传递之Window.open篇 【转】
- 今天开博
- oracle中,the account is locked
- 工程目录清理器
- 电信接口取linkId
- MySQL表锁死实例之一(uid字段没建立索引)
- 可以让你少奋斗十年的工作经验
- 原来时间可以过得这样快