I need to tie a WPF-Command to the MouseEnter event of a Stackpanel. How can I do that?
+2
A:
You can use the attached behavior pattern. There are several implementations, a good one is available here : http://marlongrech.wordpress.com/2008/12/13/attachedcommandbehavior-v2-aka-acb/s
Thomas Levesque
2010-03-29 10:29:37
I was hoping for a much more built-in support for that in WPF but this seems like quite a neat way of solving it.
Andreas
2010-04-08 08:19:15