Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8" ?>
- <ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
- xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
- x:Class="GProject.SidePage.GS">
- <ContentPage.Content>
- <StackLayout>
- <ListView x:Name="lstItems" RowHeight="60" IsEnabled="True" ItemsSource="{Binding Items}">
- <ListView.ItemTemplate>
- <DataTemplate>
- <ViewCell>
- <StackLayout Orientation="Horizontal" HorizontalOptions="Fill" Padding="0,2,0,2">
- <StackLayout Orientation="Vertical" Spacing="1">
- <Label Text = "{Binding name}" HeightRequest="20" FontAttributes="Bold"/>
- </StackLayout>
- <StackLayout HorizontalOptions="EndAndExpand" Padding="0,0,15,0" Orientation="Horizontal">
- <Image Source="modify.png" HeightRequest="40" WidthRequest="40">
- <Image.GestureRecognizers>
- <TapGestureRecognizer Tapped="modifySch"/>
- </Image.GestureRecognizers>
- </Image>
- </StackLayout>
- </StackLayout>
- </ViewCell>
- </DataTemplate>
- </ListView.ItemTemplate>
- </ListView>
- </StackLayout>
- </ContentPage.Content>
- </ContentPage>
Add Comment
Please, Sign In to add comment