01 2013 档案

摘要:MVVMLight 中的 Messager 一般要 UnRegister.很多时 UnRegister 是在 UnLoaded 事件中处理的.TabControl 里面的 TabPage 改变是, 会触发 TabPage 里面的控件的 UnLoaded 事件, 这时可能就触发了 Messager 的 UnRegister 了.解决方法: 遇到要添加到 TabPage 的控件, 不要在UnLoaded 中运行 UnRegister. 阅读全文
posted @ 2013-01-29 13:27 Ken-Cai 阅读(215) 评论(0) 推荐(0) 编辑
摘要:http://www.soaspx.com/dotnet/silverlight/silverlight_20100809_5273.htmlhttp://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/8e44d306-a68b-4ee7-a82f-68a12e82c7e4http://bbs.csdn.net/topics/350241111http://www.cnblogs.com/luosm/articles/2261826.htmlhttp://blog.csdn.net/xuan444150/article/de 阅读全文
posted @ 2013-01-21 22:59 Ken-Cai 阅读(146) 评论(0) 推荐(0) 编辑
摘要:珠海市建设工程质量监督检测站 阅读全文
posted @ 2013-01-18 11:23 Ken-Cai 阅读(187) 评论(0) 推荐(0) 编辑
摘要:<sdk:DataGridTemplateColumn> <sdk:DataGridTemplateColumn.CellTemplate> <DataTemplate> <StackPanel> <CheckBox Checked="{Binding Path=Checked,Mode=TwoWay}"></CheckBox> </StackPanel> </DataTemplate> </sdk:DataGridTemplateColumn.CellTemplate&g 阅读全文
posted @ 2013-01-13 07:50 Ken-Cai 阅读(152) 评论(0) 推荐(0) 编辑
摘要:FloatingWindow 里面有个 Host属性, 不过是private类型.一种方法是修改源代码, 将private 改为 public.另一种方法: 查看Host属性的代码: private FloatingWindowHost Host { get { return this.Parent as FloatingWindowHost; } }// this.Parent as FloatingWindowHost 就是 Host 了 阅读全文
posted @ 2013-01-04 10:55 Ken-Cai 阅读(173) 评论(0) 推荐(0) 编辑
摘要:http://www.cnblogs.com/626498301/archive/2011/03/30/1999549.html这个例子有代码下载. 要好好学习. 涉及到MVVM. 例子下载在 E:\Study\AutoComplateBoxSamples\AutoComplateBoxSampleshttp://www.cnblogs.com/Kinglee/archive/2009/09/25/1573838.html 阅读全文
posted @ 2013-01-01 20:01 Ken-Cai 阅读(180) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示