4

I need to tie a WPF-Command to the MouseEnter event of a Stackpanel. How can I do that?

Andreas
  • 53
  • 5

1 Answers1

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