本文介绍了Silverlight中Eventhandler和Routed事件处理程序之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Silverlight中事件处理程序和路由事件处理程序之间的区别
Diffrences between Eventhandler and Routed event handler in Silverlight
推荐答案
public delegate void EventHandler(object sender, EventArgs e);
public delegate void RoutedEventHandler(object sender, RoutedEventArgs e);
好吧,我知道我给你的答案是没有用的,所以我再给你一个:
我假设您想知道事件和路由事件之间的区别.这2篇文章可能对您有帮助:
http://msdn.microsoft.com/en-us/library/ms742806.aspx ( MSDN文章)
http://joshsmithonwpf.wordpress.com/2008/03/18/understanding-routed-commands /(关于路由命令的精彩文章,其中也包含对路由事件的很好的解释)
Ok, I know the answer I gave you is pretty useless, so I''ll give you another one:
I assume you want to know what''s the difference between Events and Routed Events. These 2 articles might help you:
http://msdn.microsoft.com/en-us/library/ms742806.aspx (a MSDN article)
http://joshsmithonwpf.wordpress.com/2008/03/18/understanding-routed-commands/ (a great article about Routed Commands that also contains a very nice explanation of Routed Events)
这篇关于Silverlight中Eventhandler和Routed事件处理程序之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!