I have created an animation that animates the Y position of control by using RenderTransform.
Please see XAML code below:
Code: Select all
<Storyboard x:Key="Show_Prompt">
<DoubleAnimation Storyboard.TargetName="TextBlock_Message" Storyboard.TargetProperty="(RenderTransform).Y" To="0" Duration="00:00:0.3">
<DoubleAnimation.EasingFunction>
<CubicEase/>
</DoubleAnimation.EasingFunction>
</DoubleAnimation>
</Storyboard>
This was working on on lower beta versions (esp. 10 and 11) but when I tried to update to Beta 12, this is the error:
Error C#/XAML for HTML5: XamlPreprocessor (pass 2) failed: Type not found: "RenderTransform" in namespace: "http://schemas.microsoft.com/winfx/2006/xaml/presentation". Note: the XAML editor sometimes raises errors that are misleading. To see only real non-misleading errors, make sure to close all the XAML editor windows/tabs before compiling.
Thank you.
Fernan