开发者

Attached Behavior on ButtonBase to do something before the Click event is fired for others?

Is there any way I can wire up an attached behavior based on the ButtonBase class where I could do something before an开发者_如何学Goy other subscribers to the Click event are notified?

From my current understanding of events and RoutedEvents I would say no but maybe I'm missing something.


You can use RegisterClassHandler to add a handler that will be called before all other instance handlers. I realize this is not an "attached behavior".

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜