Friday, June 13, 2014

CHAPTER 1 EX 01 Steve first app

Ex 1)Steve wants to create a Windows Store app that displays the message, My First Windows Store App,on the Interface.Help Steve to accomplish this task.

Ans 1) Paste in MainPage.xaml

<Page
    x:Class="MyFirstApp.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:MyFirstApp"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
    <TextBlock HorizontalAlignment="Left" Height="137" margin="100,100,00,0"
     TextWrapping="Wrap"  VerticalAlignment="Top" Width="946" FontSize="72"
     Text="My First Windows Store App" />

    </Grid>
</Page>

No comments:

Post a Comment