Monitoring routed events in WPF(geekswithblogs.net)
submitted by
sorskoot(195) 2 years, 6 months ago
A few days ago I wanted to monitor all routed events fired in my application. Because I am running an XBAP application inside a browser windows, Snoop wasn’t very helpful (it usually is). Because all routed events are basically the same, you can handle them all with one singe event handler. Using the EventManger it is possible to get all routed events and register a class handler for every one of them.
|category: Windows Presentation Foundation
|Views: 27
tags:
WPF another
Everyones tags:
Your Tags: