摘要: 自定义路由事件// Register the routed eventpublic static readonly RoutedEvent SelectedEvent = EventManager.RegisterRoutedEvent( "Selected", RoutingStrateg... 阅读全文
posted @ 2016-01-14 17:27 magic249 阅读(334) 评论(0) 推荐(0) 编辑
摘要: 来源:http://www.snippetsource.net/Snippet/20/define-a-custom-dependencyproperty获取对象附加属性public IEnumerable GetAttachedProperties(DependencyObject eleme... 阅读全文
posted @ 2016-01-14 16:58 magic249 阅读(237) 评论(0) 推荐(0) 编辑