When making an application, using animations is a good way to impress the user and make your application look better. Either for making a more lively menu with sliding buttons or adding some visual effects to the background, animations come as a very simple yet powerful tool for good looking applications. In this article we will be developing a Windows Store application that contains several different animations which show several different features.
I will explain how animations work as we build our application, so we will start with opening up Visual Studio and creating a new Windows Store app.
In the MainPage.xaml, add a button which will be used to start the animation.
<Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}"> <Button x:Name="startAnimationButton" Content="Let the show begin" HorizontalAlignment="Left" Margin="100,100,0,0" VerticalAlignment="Top"/> </Grid>
Then, right-click MainPage.xaml and select “Open in Blend”.