code_junkie

How can I listen to a RoutedEvent from a class that doesn't derive from FrameworkElement ? Can it be done?

Nov 10th, 2011
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. class MyClass
  2.  
  3. EventManager.RegisterClassHandler ( typeof ( MyClass )......
  4.  
  5. EventManager.RegisterClassHandler ( typeof ( TheClassThatOwnedTheEvent )
Add Comment
Please, Sign In to add comment