Advertisement
Guest User

bardzo słabo Panie hebel

a guest
May 30th, 2015
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.55 KB | None | 0 0
  1. <phone:PhoneApplicationPage
  2.    x:Class="NaszaSuperAplikacja.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.  
  17.    <phone:PhoneApplicationPage.Resources>
  18.         <DataTemplate x:Key="LongListTemplate">
  19.             <StackPanel>
  20.                 <Grid>
  21.                     <Grid.RowDefinitions>
  22.                         <RowDefinition Height="*"/>
  23.                         <RowDefinition Height="*"/>
  24.                         <RowDefinition Height="*"/>
  25.                         <RowDefinition Height="*"/>
  26.                     </Grid.RowDefinitions>
  27.                     <Grid.ColumnDefinitions>
  28.                         <ColumnDefinition></ColumnDefinition>
  29.                         <ColumnDefinition></ColumnDefinition>
  30.                     </Grid.ColumnDefinitions>
  31.                     <TextBlock Text="" Grid.Row="3"/>
  32.                     <TextBlock Text="{Binding Imie}" HorizontalAlignment="Left" Grid.Row="0" Grid.Column="0"/>
  33.                     <TextBlock Text="{Binding Nazwisko}" HorizontalAlignment="Left" Grid.Row="0" Grid.Column="1"/>
  34.                     <TextBlock Text="{Binding Stanowisko}" HorizontalAlignment="Left" Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2"/>
  35.                     <TextBlock Text="{Binding PESEL}" HorizontalAlignment="Left" Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2"/>
  36.                 </Grid>
  37.             </StackPanel>
  38.         </DataTemplate>
  39.     </phone:PhoneApplicationPage.Resources>
  40.  
  41.  
  42.     <Grid x:Name="LayoutRoot" Background="Transparent" Grid.Row="3">
  43.         <Grid.RowDefinitions>
  44.             <RowDefinition Height="*"/>
  45.             <RowDefinition Height="*"/>
  46.         </Grid.RowDefinitions>
  47.  
  48.  
  49.         <phone:LongListSelector x:Name="LongList" Grid.Row="0"
  50.                                ItemTemplate="{StaticResource LongListTemplate}" Margin="10,0,-10,0" Tap="KierowcaTap"/>
  51.  
  52.  
  53.     </Grid>
  54.    
  55.    
  56.  
  57.  
  58.  
  59. </phone:PhoneApplicationPage>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement