StoryBoard

Please post public support tickets here. Note: for private support tickets, please send an email to support@cshtml5.com instead.
sami.hashisho
Posts: 1
Joined: Fri Sep 15, 2017 9:11 am

StoryBoard

Postby sami.hashisho » Sat Sep 16, 2017 8:36 am

Hi Dears,

i am facing below issues with StoryBoard:

1- there is no "AutoReverse" feature
2- there is no "RepeatBehaviour" feature
3- whenever i call StoryBoard1.Begin() it raises exception "Object reference not set to an instance of an object."
--> below is the XAML code related to the StoryBoard:

<Page.Resources>
<Storyboard x:Name="Storyboard1">
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateX)" Storyboard.TargetName="TextBlock1">
<DiscreteObjectKeyFrame KeyTime="0:0:0.1" Value="32"/>
<DiscreteObjectKeyFrame KeyTime="0:0:0.2" Value="72"/>
<DiscreteObjectKeyFrame KeyTime="0:0:0.3" Value="72"/>
<DiscreteObjectKeyFrame KeyTime="0:0:0.4" Value="10"/>
<DiscreteObjectKeyFrame KeyTime="0:0:0.5" Value="2"/>
<DiscreteObjectKeyFrame KeyTime="0:0:0.6" Value="2"/>
<DiscreteObjectKeyFrame KeyTime="0:0:0.7" Value="4"/>
<DiscreteObjectKeyFrame KeyTime="0:0:0.8" Value="-2"/>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="TextBlock1">
<DiscreteObjectKeyFrame KeyTime="0:0:0.1" Value="2"/>
<DiscreteObjectKeyFrame KeyTime="0:0:0.2" Value="2"/>
<DiscreteObjectKeyFrame KeyTime="0:0:0.3" Value="54"/>
<DiscreteObjectKeyFrame KeyTime="0:0:0.4" Value="52"/>
<DiscreteObjectKeyFrame KeyTime="0:0:0.5" Value="16"/>
<DiscreteObjectKeyFrame KeyTime="0:0:0.6" Value="16"/>
<DiscreteObjectKeyFrame KeyTime="0:0:0.7" Value="29"/>
<DiscreteObjectKeyFrame KeyTime="0:0:0.8" Value="31"/>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.Rotation)" Storyboard.TargetName="TextBlock1">
<DiscreteObjectKeyFrame KeyTime="0:0:0.5" Value="0"/>
<DiscreteObjectKeyFrame KeyTime="0:0:0.6" Value="31.366"/>
<DiscreteObjectKeyFrame KeyTime="0:0:0.7" Value="107.849"/>
<DiscreteObjectKeyFrame KeyTime="0:0:0.8" Value="178.173"/>
<DiscreteObjectKeyFrame KeyTime="0:0:0.9" Value="269.716"/>
<DiscreteObjectKeyFrame KeyTime="0:0:1" Value="364.377"/>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleX)" Storyboard.TargetName="TextBlock1">
<DiscreteObjectKeyFrame KeyTime="0:0:0.6" Value="1"/>
<DiscreteObjectKeyFrame KeyTime="0:0:0.7" Value="1.18"/>
<DiscreteObjectKeyFrame KeyTime="0:0:0.8" Value="1.26"/>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleY)" Storyboard.TargetName="TextBlock1">
<DiscreteObjectKeyFrame KeyTime="0:0:0.6" Value="1"/>
<DiscreteObjectKeyFrame KeyTime="0:0:0.7" Value="2.006"/>
<DiscreteObjectKeyFrame KeyTime="0:0:0.8" Value="2.516"/>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</Page.Resources>

Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 3 guests