AlohaKit.Animations
AlohaKit.Animations copied to clipboard
Speed of animation
how can i control speed of the animation
C# code:
async void OnButtonSearchClicked(object sender, EventArgs args)
{
// Instantiate animation object
BounceInAnimation animation = new BounceInAnimation();
// Set duration as string
animation.Duration = "100";
// Bind the animation to the element
await btnSearch.Animate(animation);
}
The xaml:
<Button
Text="Search"
x:Name="btnSearch"
Clicked="OnButtonSearchClicked" />