FrameDetailsPage.xaml 4.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <mobile:MobilePage
  3. xmlns="http://xamarin.com/schemas/2014/forms"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
  5. xmlns:material="clr-namespace:XF.Material.Forms.UI;assembly=XF.Material"
  6. xmlns:local="clr-namespace:PRS.Mobile"
  7. xmlns:mobile="clr-namespace:InABox.Mobile;assembly=InABox.Mobile.Shared"
  8. x:Class="PRS.Mobile.FrameDetailsPage"
  9. Title = "Frame Details"
  10. x:DataType="local:FrameScannerViewModel"
  11. >
  12. <mobile:MobilePage.Resources>
  13. <mobile:EnumerableToBooleanConverter x:Key="EnumerableToBooleanConverter" />
  14. </mobile:MobilePage.Resources>
  15. <mobile:MobilePage.PageContent>
  16. <ScrollView>
  17. <StackLayout Orientation="Vertical">
  18. <material:MaterialLabel TypeScale="H6" Text="Barcode" HorizontalTextAlignment="Center"/>
  19. <material:MaterialLabel TypeScale="Body1" Text="{Binding Item.Barcode}" HorizontalTextAlignment="Center"/>
  20. <material:MaterialLabel TypeScale="H6" Text="Description" HorizontalTextAlignment="Center"/>
  21. <material:MaterialLabel TypeScale="Body1" Padding="2" Text="{Binding Item.Description}" HorizontalTextAlignment="Center"/>
  22. <material:MaterialLabel TypeScale="H6" Text="Location" HorizontalTextAlignment="Center"/>
  23. <material:MaterialLabel TypeScale="Body1" Padding="2" Text="{Binding Item.Location}" HorizontalTextAlignment="Center"/>
  24. <material:MaterialLabel TypeScale="H6" Text="Job Details" HorizontalTextAlignment="Center"/>
  25. <material:MaterialLabel TypeScale="Body1" Padding="2" Text="{Binding Item.Job}" HorizontalTextAlignment="Center"/>
  26. <material:MaterialLabel TypeScale="H6" Text="Setout Details" HorizontalTextAlignment="Center"/>
  27. <material:MaterialLabel TypeScale="Body2" Padding="2" Text="{Binding Item.Setout}" HorizontalTextAlignment="Center"/>
  28. <material:MaterialLabel TypeScale="H6" Text="Serial Number" HorizontalTextAlignment="Center"/>
  29. <material:MaterialLabel TypeScale="Body2" Padding="2" Text="{Binding Item.SerialNumber}" HorizontalTextAlignment="Center"/>
  30. <material:MaterialLabel
  31. TypeScale="H6"
  32. Text="Delivery Drawings"
  33. HorizontalTextAlignment="Center"/>
  34. <mobile:MobileCollectionView
  35. x:Name="_deliveryDocuments"
  36. VerticalOptions="Start"
  37. PullToRefresh="False">
  38. <!-- ItemsSource="{Binding DeliveryDocuments}" -->
  39. <mobile:MobileCollectionView.ItemTemplate>
  40. <DataTemplate x:DataType="local:DeliveryDocumentShell">
  41. <Frame HeightRequest="100" BackgroundColor="White" BorderColor="Black" CornerRadius="5" Margin="5,5,5,0">
  42. <Label Text="Hi There" />
  43. <!-- <local:ActionButton Text="{Binding FileName}" Clicked="Document_Clicked" /> -->
  44. </Frame>
  45. </DataTemplate>
  46. </mobile:MobileCollectionView.ItemTemplate>
  47. </mobile:MobileCollectionView>
  48. <material:MaterialLabel
  49. TypeScale="H6"
  50. Text="Manufacturing Drawings"
  51. HorizontalTextAlignment="Center"/>
  52. <mobile:MobileCollectionView
  53. x:Name="_setoutDocuments"
  54. VerticalOptions="Start"
  55. PullToRefresh="False">
  56. <!-- ItemsSource="{Binding SetoutDocuments}" -->
  57. <mobile:MobileCollectionView.ItemTemplate>
  58. <DataTemplate x:DataType="local:SetoutDocumentShell">
  59. <mobile:MobileButton Text="{Binding FileName}" Clicked="Document_Clicked" />
  60. </DataTemplate>
  61. </mobile:MobileCollectionView.ItemTemplate>
  62. </mobile:MobileCollectionView>
  63. <material:MaterialLabel
  64. TypeScale="H6"
  65. Text="--End--"
  66. HorizontalTextAlignment="Center"/>
  67. </StackLayout>
  68. </ScrollView>
  69. </mobile:MobilePage.PageContent>
  70. </mobile:MobilePage>