- Back to Home »
- Windows Phone apps »
- Windows Phone 8 Login Page Design XAML Code
Posted by :
Sudhir Chekuri
Friday, 1 November 2013
XAML code given below can be used in the windows phone 8 portrait page to change it into a login page which takes emailid and password from the user.
</Grid>
XAML code for login page in windows phone
<!--ContentPanel - place additional content here-->
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
<Grid.RowDefinitions>
<RowDefinition Height="auto"></RowDefinition>
<RowDefinition Height="auto"></RowDefinition>
<RowDefinition Height="auto"></RowDefinition>
<RowDefinition Height="auto"></RowDefinition>
<RowDefinition Height="auto"></RowDefinition>
<RowDefinition Height="auto"></RowDefinition>
</Grid.RowDefinitions>
<TextBlock Grid.Row="0" Text="Emaild" Margin="15"></TextBlock>
<TextBox Grid.Row="1" x:Name="TxtLoginEmailid" Margin="5"></TextBox>
<TextBlock Grid.Row="2" Text="Password" Margin="15"></TextBlock>
<TextBox Grid.Row="3" x:Name="TxtLoginPwd" Margin="5"></TextBox>
<Button Grid.Row="4" x:Name="BtnLogin" Content="Login" Margin="5" ></Button>
<HyperlinkButton x:Name="HLRegister" Grid.Row="5" Content="Click here to Register"></HyperlinkButton>