Guest User

Untitled

a guest
Nov 23rd, 2016
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.31 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
  3.             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
  4.             x:Class="GProject.SidePage.GS">
  5.   <ContentPage.Content>
  6.      <StackLayout>
  7.         <ListView x:Name="lstItems" RowHeight="60" IsEnabled="True" ItemsSource="{Binding Items}">
  8.         <ListView.ItemTemplate>
  9.           <DataTemplate>
  10.             <ViewCell>
  11.               <StackLayout Orientation="Horizontal" HorizontalOptions="Fill" Padding="0,2,0,2">
  12.                 <StackLayout Orientation="Vertical" Spacing="1">
  13.                   <Label Text = "{Binding name}" HeightRequest="20" FontAttributes="Bold"/>
  14.                 </StackLayout>
  15.                 <StackLayout HorizontalOptions="EndAndExpand" Padding="0,0,15,0" Orientation="Horizontal">
  16.                   <Image Source="modify.png" HeightRequest="40" WidthRequest="40">
  17.                     <Image.GestureRecognizers>
  18.                       <TapGestureRecognizer Tapped="modifySch"/>
  19.                     </Image.GestureRecognizers>
  20.                   </Image>
  21.                 </StackLayout>
  22.               </StackLayout>
  23.             </ViewCell>
  24.           </DataTemplate>
  25.         </ListView.ItemTemplate>
  26.       </ListView>
  27.     </StackLayout>
  28.   </ContentPage.Content>
  29. </ContentPage>
Add Comment
Please, Sign In to add comment