Skip to main content
Home Forums Silverlight Programming Programming with .NET - General Value out of range for onLoad trigger.
1 replies. Latest Post by Yi-Lun Luo - MSFT on May 9, 2008.
(0)
Shamresh
Member
9 points
21 Posts
05-07-2008 5:40 AM |
Hi, I am trying to kick off a storyboard that is in the userControl resources section. On the line : <BeginStoryboard Storyboard="{StaticResource spriteKey}" /> I get "value is out of range". Not sure if the XAML is correct but the problem occurs at runtime. Sham. Ps: XAML is: <UserControl x:Class="SilverlightApplication11.DisneyControl"
Hi,
I am trying to kick off a storyboard that is in the userControl resources section. On the line : <BeginStoryboard Storyboard="{StaticResource spriteKey}" /> I get "value is out of range".
Not sure if the XAML is correct but the problem occurs at runtime.
Sham.
Ps: XAML is:
<
...
<EventTrigger RoutedEvent="Canvas.Loaded">
<BeginStoryboard Storyboard="{StaticResource spriteKey}" />
</EventTrigger>
</Canvas.Triggers>
</
Yi-Lun L...
All-Star
25052 points
2,747 Posts
05-09-2008 12:48 AM |
Hello, there're some known issues with EventTrigger that our developers are investigating. Currently we recommend you to begin a Storyboard in code rather than using EventTriggers.