Step 3 : The MainPage.xaml file is as in the following code:
Code :
<Page
x:Class="App21.MainPage"
IsTabStop="false"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:App21"
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" Background="White">
<Grid.RowDefinitions>
<RowDefinition />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition />
</Grid.ColumnDefinitions>
<Rectangle Fill="#FFDEE6FB" Grid.Column="0" Grid.Row="0" RadiusX="20"
RadiusY="20" Opacity="0.8" StrokeThickness="0" />
<Grid Grid.Column="0" Grid.Row="0" Margin="10,10,10,10">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="260" />
<ColumnDefinition Width="260" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="50" />
<RowDefinition Height="50" />
<RowDefinition Height="50" />
<RowDefinition Height="100" />
<RowDefinition Height="100" />
</Grid.RowDefinitions>
<TextBlock Text="EMP_NAME" Margin="10,5,10,5" Grid.Row="0" Grid.Column="0"
FontSize="20" Foreground="BlueViolet" />
<TextBlock Text="DESIGNATION" Margin="10,5,10,5" Grid.Row="1" Grid.Column="0"
FontSize="20" Foreground="BlueViolet" />
<TextBlock Text="ADDRESS" Margin="10,5,10,5" Grid.Row="2" Grid.Column="0"
FontSize="20" Foreground="BlueViolet" />
<TextBox x:Name="eName" Margin="10,5,10,5" Grid.Row="0" Grid.Column="2"
FontSize="20" Foreground="Black" />
<TextBox x:Name="desi" Margin="10,5,10,5" Grid.Row="1" Grid.Column="2"
FontSize="20" Foreground="Black" />
<TextBox x:Name="eADD" Margin="10,5,10,5" Grid.Row="2" Grid.Column="2"
FontSize="20" Foreground="Black" />
<Button x:Name="bindData" Margin="10,5,10,5" Grid.Row="3" Grid.Column="2"
Content="SaveValue" Background="Green" FontSize="20" Foreground="Red"
Click="bindData_Click" />
<ProgressRing x:Name="pring1" Grid.Row="3" Grid.Column="0" Foreground="Red"
IsActive="False" Margin="81,10,66,10" Width="113" Height="80">
</ProgressRing>
</Grid>
</Grid>
</Page>