Created
October 14, 2020 09:10
-
-
Save RomiTT/d99daac1c28ab118e5336bfad569f63a to your computer and use it in GitHub Desktop.
XAML Storyboard with path data #XAML
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="playShape" | |
Storyboard.TargetProperty="Data" | |
Duration="0:0:0.5"> | |
<ObjectAnimationUsingKeyFrames.KeyFrames> | |
<DiscreteObjectKeyFrame KeyTime="0:0:0"> | |
<DiscreteObjectKeyFrame.Value> | |
<Geometry>M 0,0 0,20 14,10 14,10 L 0,0</Geometry> | |
</DiscreteObjectKeyFrame.Value> | |
</DiscreteObjectKeyFrame> | |
<DiscreteObjectKeyFrame KeyTime="0:0:0.5"> | |
<DiscreteObjectKeyFrame.Value> | |
<Geometry>M 0,0 0,20 20,20 20,0 L 0,0</Geometry> | |
</DiscreteObjectKeyFrame.Value> | |
</DiscreteObjectKeyFrame> | |
</ObjectAnimationUsingKeyFrames.KeyFrames> | |
</ObjectAnimationUsingKeyFrames> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment