Step 3 : The BlankPage.xaml file is as in the following code:
Code :
<Page
x:Class="Application3.BlankPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:Application3"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<Grid x:Name="LayoutRoot">
<Rectangle Margin="66,42,152,20" Stroke="#FF000000" RadiusX="0" RadiusY="0">
<Rectangle.Fill>
<LinearGradientBrush x:Name="MRGB" EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="YellowGreen" Offset="0"/>
<GradientStop Color="Yellow" Offset="0.478"/>
</LinearGradientBrush>
</Rectangle.Fill>
</Rectangle>
<TextBlock x:Name="TB" Margin="75,49,161,0" FontFamily="Book Antiqua" FontSize="24" FontWeight="Bold" TextWrapping="Wrap" Foreground="Red"
TextAlignment="Center" Height="56" VerticalAlignment="Top" >
<TextBlock.Triggers>
<EventTrigger RoutedEvent="FrameworkElement.Loaded">
<BeginStoryboard>
<Storyboard>
<DoubleAnimation
Storyboard.TargetName="TB"
Storyboard.TargetProperty="Opacity"
From="1.0" To="0.0" Duration="0:0:5"
AutoReverse="True" RepeatBehavior="Forever" />
</Storyboard>
</BeginStoryboard>
</EventTrigger>
</TextBlock.Triggers><Run FontFamily="Cambria" FontSize="30"
Text="Mind Cracker Network Solution "/></TextBlock>
<TextBlock x:Name="TB2" Margin="75,225,161,131" FontFamily="Book Antiqua" FontSize="24" FontWeight="Bold" TextWrapping="Wrap" Foreground="Blue" TextAlignment="Center">
<LineBreak/><Run FontFamily="Cambria" FontSize="48" Foreground="Brown"
Text="Join us for a optimize solution"/>
<TextBlock.Triggers>
<EventTrigger RoutedEvent="FrameworkElement.Loaded">
<BeginStoryboard>
<Storyboard/>
</BeginStoryboard>
</EventTrigger>
</TextBlock.Triggers>
</TextBlock>
<TextBlock
x:Name="TB4"
Margin="75,120,161,0" FontSize="36" FontWeight="Bold" VerticalAlignment="Top"
Height="100" Text="C# Corner- A complete solution for .Net technolgy"
TextWrapping="Wrap" TextAlignment="Center">
<TextBlock.Foreground>
<SolidColorBrush x:Name="SB" Color="Pink" />
</TextBlock.Foreground>
<TextBlock.Triggers>
<EventTrigger RoutedEvent="FrameworkElement.Loaded">
<BeginStoryboard>
<Storyboard>
<ColorAnimation
Storyboard.TargetName="SB"
Storyboard.TargetProperty="Color"
From="Pink" To="SteelBlue" Duration="0:0:5"
AutoReverse="True" RepeatBehavior="Forever" />
</Storyboard>
</BeginStoryboard>
</EventTrigger>
</TextBlock.Triggers>
</TextBlock>
<TextBlock
x:Name="TB5"
Margin="300,300,183,41"
FontSize="30" FontWeight="Bold" Foreground="Green" VerticalAlignment="Center" Height="60">
<TextBlock.RenderTransform>
<RotateTransform x:Name="MyRT" Angle="0" CenterX="30" CenterY="25"/>
</TextBlock.RenderTransform><!-- Animates the text block's rotation. --><TextBlock.Triggers>
<EventTrigger RoutedEvent="FrameworkElement.Loaded">
<BeginStoryboard>
<Storyboard>
<DoubleAnimation
Storyboard.TargetName="MyRT"
Storyboard.TargetProperty="(RotateTransform.Angle)"
From="0.0" To="360" Duration="0:0:10"
RepeatBehavior="Forever" />
</Storyboard>
</BeginStoryboard>
</EventTrigger>
</TextBlock.Triggers><Run FontSize="48" Text="Breaking News"/></TextBlock>
</Grid>
</Page>