DeliveryDocket.xaml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <timesheets:BasePage xmlns:timesheets="clr-namespace:comal.timesheets" xmlns="http://xamarin.com/schemas/2014/forms"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
  4. x:Class="comal.timesheets.Deliveries.DeliveryDocket">
  5. <timesheets:BasePage.PageContent>
  6. <!--<ScrollView>
  7. <StackLayout x:Name="deliveryItemsList">
  8. </StackLayout>
  9. </ScrollView>-->
  10. <StackLayout>
  11. <Entry x:Name="searchEnt" Placeholder="Search" TextChanged="SearchEnt_Changed"/>
  12. <Label x:Name="numberOfItems" Margin="5" FontSize="Medium" FontAttributes="Bold" />
  13. <ListView x:Name="DeliveryItemList" HasUnevenRows="True" BackgroundColor="Transparent" Margin="0,0,0,0">
  14. <ListView.ItemTemplate>
  15. <DataTemplate>
  16. <ViewCell>
  17. <Frame Padding="5" BorderColor="#15C7C1" Margin="2" CornerRadius="10">
  18. <Grid>
  19. <Grid.RowDefinitions>
  20. <RowDefinition Height="auto"/>
  21. <RowDefinition Height="auto"/>
  22. </Grid.RowDefinitions>
  23. <Grid.ColumnDefinitions>
  24. <ColumnDefinition Width="*"/>
  25. <ColumnDefinition Width="*"/>
  26. </Grid.ColumnDefinitions>
  27. <Label Text="{Binding Rack}" FontAttributes="Bold" Grid.Row="0" Grid.Column="0" LineBreakMode="WordWrap"/>
  28. <Label Text="{Binding Setout}" FontAttributes="Bold" Grid.Row="1" Grid.Column="0" LineBreakMode="WordWrap"/>
  29. <Label Text="{Binding Description}" FontAttributes="Bold" Grid.Row="0" Grid.Column="1" LineBreakMode="WordWrap"/>
  30. <Label Text="{Binding Requi}" FontAttributes="Bold" Grid.Row="1" Grid.Column="1" LineBreakMode="WordWrap"/>
  31. </Grid>
  32. </Frame>
  33. </ViewCell>
  34. </DataTemplate>
  35. </ListView.ItemTemplate>
  36. </ListView>
  37. </StackLayout>
  38. </timesheets:BasePage.PageContent>
  39. </timesheets:BasePage>