VisualStateManager:当状态B处于活动状态时如何停止状态A的执行?
当鼠标悬停在按钮上时,我已经成功地增加了按钮内图像的比例。
现在,如果我要对 ToggleButton 使用相同的概念,情况会稍微更具挑战性。
当切换按钮处于“选中”状态时,我不希望鼠标悬停状态触发其缩放动画,但仍应触发颜色动画。
我怎么可能实现这个目标?
非常感谢,
I have successfully managed to increase the scale of an image inside a button as soon as the mouse is hovered over the button.
Now if I was going to use the same concept for a ToggleButton the situation would be slightly more challenging.
When the toggleButton is in 'checked' State, I don't wish the mouseover state to fire its scaling animation, but the color animations should still be fired.
How could I possibly achieve this?
Many Thanks,
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论