Call a storyboard declared in xaml from c#

Viewed 44816

I am trying to call a storyboard declared in xaml from c#.

<UserControl.Resources>
    <Storyboard x:Name="PlayStoryboard" x:Key="PlayAnimation">
        ...

I dont have access to "PlayStoryboard" from the codebehind file. Any ideas what i am doing wrong?

1 Answers
Related