会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Leptonation
Scientia et cognitionis (C#, JAVA, Javascript, Angular, Node.js, Electronics)
首页
新随笔
联系
订阅
管理
2013年8月24日
C# WPF – 利用“Attached Property” 把 RoutedEvent 接上 ICommand
摘要: 本文说明怎样把 DoubleClick 连接至 ICommand。方法很多。推荐使用 Attach Property 方式,因为它能把任何 RoutedEvent 接上任何 ICommand。 之前写过一篇博文关于 MVVM 中双击事件触发 ICommand 的办法,我说要么你自己写 Attached Property,要么下载别人写好的,比如支持 Collections 的 CommandBeh...
阅读全文
posted @ 2013-08-24 12:40 Lepton
阅读(2185)
评论(4)
推荐(0)
编辑