开发者

No generic RoutedEventHandler in WPF?

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜