I am looking at the Prism Stocktrader RI and I can see that the InTransition Storyboard is played using code. I tried the following xaml:
<UserControl.Triggers> <EventTrigger RoutedEvent="UserControl.Loaded"> <BeginStoryboard Storyboard="{StaticResource InTransition}"/> </EventTrigger> </UserControl.Triggers>But it gives the following error on InitializeComponent (i.e. a XamlParseException):

any idea why?