开发者

How can I tie a WPF Command to a MouseEnter event?

开发者 https://www.devze.com 2022-12-25 03:22 出处:网络
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 availa

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/

0

精彩评论

暂无评论...
验证码 换一张
取 消