source: 2013/30/MiskaK/MW2(My Warfare 2)/Paranneltu Jypeli/JyStorage/SilverlightTest/SimplePage.xaml @ 4507

Revision 4507, 3.9 KB checked in by anlakane, 6 years ago (diff)

Talletus.

Line 
1<phone:PhoneApplicationPage
2    x:Class="SilverStorageTest.SimplePage"
3    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
4    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
5    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
6    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
7    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
8    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
9    mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="768"
10    FontFamily="{StaticResource PhoneFontFamilyNormal}"
11    FontSize="{StaticResource PhoneFontSizeNormal}"
12    Foreground="{StaticResource PhoneForegroundBrush}"
13    SupportedOrientations="Portrait" Orientation="Portrait"
14    shell:SystemTray.IsVisible="True" Name="simpleTestPage" BackKeyPress="simpleTestPage_BackKeyPress">
15
16    <!--LayoutRoot is the root grid where all page content is placed-->
17    <Grid x:Name="LayoutRoot" Background="Transparent">
18        <Grid.RowDefinitions>
19            <RowDefinition Height="Auto"/>
20            <RowDefinition Height="*"/>
21        </Grid.RowDefinitions>
22
23        <!--TitlePanel contains the name of the application and page title-->
24        <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
25            <TextBlock x:Name="ApplicationTitle" Text="DATASTORAGE" Style="{StaticResource PhoneTextNormalStyle}"/>
26            <TextBlock x:Name="PageTitle" Text="simple test" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}"/>
27        </StackPanel>
28
29        <!--ContentPanel - place additional content here-->
30        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
31            <Button Content="Load" Height="86" HorizontalAlignment="Left" Margin="-12,28,0,0" Name="buttonLoad" VerticalAlignment="Top" Width="468" Click="buttonLoad_Click" />
32            <Button Content="Save" Height="86" HorizontalAlignment="Left" Margin="-12,99,0,0" Name="buttonSave" VerticalAlignment="Top" Width="468" Click="buttonSave_Click" />
33            <Button Content="Delete" Height="86" HorizontalAlignment="Left" Margin="-12,168,0,0" Name="buttonDelete" VerticalAlignment="Top" Width="468" Click="buttonDelete_Click" />
34            <CheckBox Content="Check1" Height="72" HorizontalAlignment="Left" Margin="0,331,0,0" Name="checkBox1" VerticalAlignment="Top" />
35            <CheckBox Content="Check2" Height="72" HorizontalAlignment="Left" Margin="144,331,0,0" Name="checkBox2" VerticalAlignment="Top" />
36            <CheckBox Content="Check3" Height="72" HorizontalAlignment="Left" Margin="312,331,0,0" Name="checkBox3" VerticalAlignment="Top" />
37            <TextBox Height="142" HorizontalAlignment="Left" Margin="-12,459,0,0" Name="textBox1" Text="TextBox" VerticalAlignment="Top" Width="480" />
38            <TextBox Height="76" HorizontalAlignment="Left" Margin="-12,397,0,0" Name="textFileName" Text="test.xml" VerticalAlignment="Top" Width="480" />
39            <Button Content="Clear" Height="86" HorizontalAlignment="Left" Margin="-15,239,0,0" Name="buttonClear" VerticalAlignment="Top" Width="468" Click="buttonClear_Click" />
40        </Grid>
41    </Grid>
42 
43    <!--Sample code showing usage of ApplicationBar-->
44    <!--<phone:PhoneApplicationPage.ApplicationBar>
45        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
46            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button1.png" Text="Button 1"/>
47            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button2.png" Text="Button 2"/>
48            <shell:ApplicationBar.MenuItems>
49                <shell:ApplicationBarMenuItem Text="MenuItem 1"/>
50                <shell:ApplicationBarMenuItem Text="MenuItem 2"/>
51            </shell:ApplicationBar.MenuItems>
52        </shell:ApplicationBar>
53    </phone:PhoneApplicationPage.ApplicationBar>-->
54
55</phone:PhoneApplicationPage>
Note: See TracBrowser for help on using the repository browser.