DigitalFormHost.xaml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <mobile:MobilePage xmlns:local="clr-namespace:PRS.Mobile"
  3. xmlns="http://xamarin.com/schemas/2014/forms"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
  5. xmlns:mobile="clr-namespace:InABox.Mobile;assembly=InABox.Mobile.Shared"
  6. x:Class="PRS.Mobile.DigitalFormHost">
  7. <mobile:MobilePage.PrimaryMenu>
  8. <!-- <ImageButton x:Name="_saveProgress" Source="save" Clicked="SaveProgressBtn_Clicked" /> -->
  9. <ImageButton x:Name="_saveButton" Source="save" Clicked="SaveBtn_Clicked"/>
  10. </mobile:MobilePage.PrimaryMenu>
  11. <mobile:MobilePage.PageContent>
  12. <Grid Margin="5" RowSpacing="5">
  13. <Grid.RowDefinitions>
  14. <RowDefinition Height="*"/>
  15. <RowDefinition Height="auto"/>
  16. </Grid.RowDefinitions>
  17. <!-- <Label x:Name="titleLbl" Grid.Row="0" Margin="5" FontAttributes="Bold" FontSize="Medium" HorizontalTextAlignment="Center" HorizontalOptions="FillAndExpand"/> -->
  18. <!--scrollview to display form-->
  19. <ScrollView
  20. x:Name="formViewerScroller"
  21. Grid.Row="0"
  22. />
  23. <mobile:MobileButton
  24. Grid.Row="1"
  25. IsVisible="false"
  26. Text="View Attached Document"
  27. Clicked="DocumentBtn_Clicked"
  28. x:Name="documentBtn"/>
  29. </Grid>
  30. </mobile:MobilePage.PageContent>
  31. </mobile:MobilePage>