问题 Manually setting up a double animation, possible?

  • יום שישי 14 אוקטובר 2011 05:09
     
     

    I'm trying to manually create a doubleAnimation in code. The storyboard is failing when I start it claiming it can't find the the targetproperty, which is a custom dependency property. Is this scenario supported yet?

     

    -Graham

כל התגובות

  • שבת 15 אוקטובר 2011 01:59
    מנחה דיון
     
     

    What do you mean by manually create the animation in code?  Are you trying to build it completely from code rather than describing it in Xaml?  Or are you creating the animation in Xaml and then triggering it from code?

    Does the animation work if you do it in Xaml rather than in code?  Does it work if you animate a non-custom property?  Does the dependency property work outside of the animation?

    Can you provide a minimal sample of code that demonstrates the problem?

    --Rob