Anybody knows the point of not having a generic RoutedEventHandler? We already have EventHandler<> which is great, why force devs to write their own custom routed e开发者_JS百科vent handlers?
RoutedEventHandler
is equivalent to EventHandler<RoutedEventArgs>
, so EventHandler<T>
is enough for routed events.
精彩评论