Time Delay on Trigger

前端 未结 2 1646
感情败类
感情败类 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:19

    This was the code I settled on - based on the ideas already given:

        
    

    Then apply as before. This was tested and works in .NET 4.0. Other neat tricks could be applied if you do so wish, I found the following to be quite helpful in getting ideas:

    Animation Overview (MSDN)

    Storyboards Overview (MSDN)

提交回复
热议问题