
C# 7 and .NET Core: Modern Cross-Platform Development

You can make your application feel more natural and organic (and fun) using storyboard animations.
Add a new Blank App (Universal Windows) project named Ch13_BouncingBall
.
Open the MainPage.xaml
file, change Grid
into Canvas
, and add an ellipse to make a red ball. Save your changes:
<Canvas Background= "{ThemeResource ApplicationPageBackgroundThemeBrush}"> <Ellipse Fill="Red" Height="100" Width="100"/> </Canvas>
In the Solution Explorer window, right-click on the Ch13_BouncingBall
project and choose Design in Blend...
Be patient. The first time you start Blend, it can take a few minutes.
The project will open in the Microsoft Blend for Visual Studio tool, which is used by designers because it has better support for graphical effects and animation than Visual Studio does.
On the drawing surface, click on the red ellipse to select it, as shown in the following screenshot.
In the Objects...
Change the font size
Change margin width
Change background colour