Guest User

Untitled

a guest
Dec 19th, 2018
53
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <ListView x:Name="ListViewExInspection"
  2. HasUnevenRows="True"
  3. ItemsSource="{Binding ExInspectionDetail}">
  4. <ListView.ItemTemplate>
  5. <DataTemplate>
  6. <ViewCell>
  7. <StackLayout Padding="0,0,15,1">
  8. <Label FontSize="Small" Text="{Binding InspectionSection}" TextColor="Black" FontAttributes="Bold"/>
  9. <Label FontSize="Small" Text="{Binding InspectionText}" VerticalOptions="Start" TextColor="Black"/>
  10. <Label FontSize="Small" Text="Status" TextColor="Black" FontAttributes="Bold"/>
  11. <Picker x:Name="PkStatus" TextColor="Black" FontSize="Small"
  12. SelectedIndex="{Binding InspectionStatus, Mode=TwoWay}"
  13. IsEnabled="{Binding StatusEnabled}">
  14. <Picker.ItemsSource>
  15. <x:Array Type="{x:Type x:String}">
  16. <x:String>Incomplete</x:String>
  17. <x:String>Pass</x:String>
  18. <x:String>Fail</x:String>
  19. <x:String>N/A</x:String>
  20. </x:Array>
  21. </Picker.ItemsSource>
  22. </Picker>
  23. </StackLayout>
  24. </ViewCell>
  25. </DataTemplate>
  26. </ListView.ItemTemplate>
  27. </ListView>
RAW Paste Data