开发者

WPF Trigger command

开发者 https://www.devze.com 2023-01-11 09:04 出处:网络
I know in Silverlight there is a conceptof behaviours. In WPF we have Triggers, What I am trying to a开发者_运维技巧chieve is that when a user has his mouse over a button, I want a command to be fir

I know in Silverlight there is a concept of behaviours.

In WPF we have Triggers,

What I am trying to a开发者_运维技巧chieve is that when a user has his mouse over a button, I want a command to be fired.

I have a RepeatButton that has its Command Property set, but I want that command (or preferable another command to fire) when the mouse is over that button.Is this possible in WPF.

The Button is in a Control Template.

Thanks


Answer

0

精彩评论

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