Time Delay on Trigger

前端 未结 2 1623
感情败类
感情败类 2020-12-19 19:24

I wish to attach a time delay to a mouseover event on a WPF expander I have on my form (xaml supported by VB.NET code behind). This mouseover event essentially triggers the

2条回答
  •  囚心锁ツ
    2020-12-19 20:15

    Use an EventTrigger on the MouseOver event and a Storyboard with a BooleanAnimationUsingKeyFrames instead. In the Timeline of the Storyboard, you could have KeyFrames, so that the animation waits for some time before it affects the properties you want to change.

提交回复
热议问题