PunCha

导航

2012年4月2日 #

原来Image控件的Source属性是一个ImageSource对象啊!

摘要: 这里只是一个示范,其实是可以将数据库中取出来的二进制数据,直接转换成一个BitmapImage对象返回的: public class ImageConverter : IValueConverter { publi... 阅读全文

posted @ 2012-04-02 20:19 PunCha 阅读(250) 评论(0) 推荐(0)

IsSynchronizedWithCurrentItem 会让 ListBox 默认选中第一项

摘要: ... 阅读全文

posted @ 2012-04-02 13:31 PunCha 阅读(709) 评论(0) 推荐(0)

一个“>”导致我调试了1个小时才解决问题

摘要: 在XAML里面写了如下的代码: > ... 阅读全文

posted @ 2012-04-02 13:23 PunCha 阅读(297) 评论(0) 推荐(0)