SelectionView.xaml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <ContentView xmlns="http://xamarin.com/schemas/2014/forms"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
  4. xmlns:local="clr-namespace:PRS.Mobile"
  5. xmlns:mobile="clr-namespace:InABox.Mobile;assembly=InABox.Mobile.Shared"
  6. x:Class="PRS.Mobile.SelectionView">
  7. <ContentView.Content>
  8. <Grid Grid.RowSpacing="0">
  9. <Grid.RowDefinitions>
  10. <RowDefinition Height="Auto"/>
  11. <RowDefinition Height="*" />
  12. <RowDefinition Height="Auto"/>
  13. </Grid.RowDefinitions>
  14. <mobile:MobileButtonStrip
  15. x:Name="Filters"
  16. Grid.Row="0"
  17. HeightRequest="30"
  18. CornerRadius="15"
  19. Margin="0,0,0,5"
  20. Background="Red"
  21. SelectionChanged="Filters_OnSelectionChanged"/>
  22. <mobile:MobileGrid
  23. x:Name="Items"
  24. Grid.Row="1"
  25. PullToRefresh="True"
  26. RefreshRequested="Items_OnRefreshRequested"
  27. SelectionChanged="Items_OnSelectionChanged"
  28. ShowRecordCount="True"/>
  29. <Grid
  30. x:Name="Buttons"
  31. Grid.Row="2"
  32. ColumnSpacing="5"
  33. Margin="0,5,0,0"
  34. IsVisible="False"/>
  35. </Grid>
  36. </ContentView.Content>
  37. </ContentView>