Advertisement
mrlacey

SO15107864 MainPage.xaml

Feb 27th, 2013
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.94 KB | None | 0 0
  1. <phone:PhoneApplicationPage
  2.    x:Class="SO15107864.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.    mc:Ignorable="d"
  10.    FontFamily="{StaticResource PhoneFontFamilyNormal}"
  11.    FontSize="{StaticResource PhoneFontSizeNormal}"
  12.    Foreground="{StaticResource PhoneForegroundBrush}"
  13.    SupportedOrientations="Portrait" Orientation="Portrait"
  14.    shell:SystemTray.IsVisible="True">
  15.  
  16.     <Grid x:Name="LayoutRoot" Background="Transparent">
  17.         <Grid.RowDefinitions>
  18.             <RowDefinition Height="Auto"/>
  19.             <RowDefinition Height="*"/>
  20.         </Grid.RowDefinitions>
  21.  
  22.         <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
  23.             <TextBlock Text="MY APPLICATION" Style="{StaticResource PhoneTextNormalStyle}" Margin="12,0"/>
  24.             <TextBlock Text="page name" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}"/>
  25.         </StackPanel>
  26.  
  27.         <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
  28.             <phone:LongListSelector  Name="namelonglistselector">
  29.                 <phone:LongListSelector.ItemTemplate>
  30.                     <DataTemplate>
  31.                         <StackPanel>
  32.                             <TextBlock Name="fnametextblock" Text="{Binding fname}"/>
  33.                             <TextBlock  Name="lnametextblock" Text="{Binding lname}"/>
  34.                         </StackPanel>
  35.                     </DataTemplate>
  36.                 </phone:LongListSelector.ItemTemplate>
  37.             </phone:LongListSelector>
  38.  
  39.         </Grid>
  40.    </Grid>
  41. </phone:PhoneApplicationPage>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement