Xamarin Forms introduced a Animation API and later VSM, we will now try to extend the features of the Animation to be more useful to work with VSM.
-
Extend the
Animation
api to be used on XAML by introducingStoryboard
, we should be able to specify at least the animation between 2 double values, colors and positions, user can specify the TargetElement (by default the attached element), TargetProperty, From, To, Duration and Easing of the animation, this should then be translated to a Animation callback to be applied on theTargetElement
( by default that theVisualState
is attached to). Storyboard should also add aCompleted
event, and a way to start and stop the animation from code behind. -
VSM should allow transitiosn between states