I need to tie a WPF-Command to the MouseEnter event of a Stackpanel. How can I do that?
Asked
Active
Viewed 1,691 times
1 Answers
3
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/

Thomas Levesque
- 286,951
- 70
- 623
- 758
-
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 Apr 08 '10 at 08:19
-
Thanks man, I did not think that article it was linking to was what you were referring to =P – Alex Hope O'Connor Jun 08 '11 at 10:42