How can I tie a WPF Command to a MouseEnter event?
I need to tie a WPF-Command to the MouseEnter event of a Stackpanel. How can I do that开发者_如何学C?
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/
精彩评论