source: 2014/24/EemeliK/Zombieland/Jypeli/JyStorage/SilverlightTest/MainPage.xaml @ 5974

Revision 5974, 3.2 KB checked in by empaheik, 4 years ago (diff)
Line 
1<phone:PhoneApplicationPage
2    x:Class="SilverStorageTest.MainPage"
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    FontFamily="{StaticResource PhoneFontFamilyNormal}"
10    FontSize="{StaticResource PhoneFontSizeNormal}"
11    Foreground="{StaticResource PhoneForegroundBrush}"
12    SupportedOrientations="Portrait" Orientation="Portrait"
13    mc:Ignorable="d" d:DesignHeight="768" d:DesignWidth="480"
14    shell:SystemTray.IsVisible="True" Name="mainPage">
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="all tests" 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="simple test" Height="72" HorizontalAlignment="Left" Margin="-12,0,0,0" Name="buttonSimpleTest" VerticalAlignment="Top" Width="480" Click="buttonSimpleTest_Click" />
32            <Button Content="array test" Height="72" HorizontalAlignment="Left" Margin="-12,78,0,0" Name="buttonArrayTest" VerticalAlignment="Top" Width="480" Click="buttonArrayTest_Click" />
33            <Button Content="list test" Height="72" HorizontalAlignment="Left" Margin="-12,156,0,0" Name="buttonListTest" VerticalAlignment="Top" Width="480" Click="buttonListTest_Click" />
34            <Button Content="file explorer" Height="72" HorizontalAlignment="Left" Margin="-12,529,0,0" Name="buttonFileExplorer" VerticalAlignment="Top" Width="480" Click="buttonFileExplorer_Click" />
35        </Grid>
36    </Grid>
37 
38    <!--Sample code showing usage of ApplicationBar-->
39    <!--<phone:PhoneApplicationPage.ApplicationBar>
40        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
41            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button1.png" Text="Button 1"/>
42            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button2.png" Text="Button 2"/>
43            <shell:ApplicationBar.MenuItems>
44                <shell:ApplicationBarMenuItem Text="MenuItem 1"/>
45                <shell:ApplicationBarMenuItem Text="MenuItem 2"/>
46            </shell:ApplicationBar.MenuItems>
47        </shell:ApplicationBar>
48    </phone:PhoneApplicationPage.ApplicationBar>-->
49
50</phone:PhoneApplicationPage>
Note: See TracBrowser for help on using the repository browser.