DocumentPage.xaml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <mobile:MobilePage xmlns="http://xamarin.com/schemas/2014/forms"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
  4. xmlns:mobile="clr-namespace:InABox.Mobile;assembly=InABox.Mobile.Shared"
  5. xmlns:local="clr-namespace:PRS.Mobile;assembly=PRS.Mobile"
  6. x:Class="PRS.Mobile.DocumentPage">
  7. <mobile:MobilePage.PrimaryMenu>
  8. <mobile:MobileMenuButton x:Name="_launch" Image="more" Clicked="_launch_Click" />
  9. </mobile:MobilePage.PrimaryMenu>
  10. <mobile:MobilePage.PageContent>
  11. <Grid>
  12. <local:DocumentViewer
  13. x:Name="_viewer"
  14. IsVisible="False"
  15. ShowFileName="False"
  16. DocumentLoaded="_viewer_DocumentLoaded"
  17. Margin="5"/>
  18. <Label
  19. x:Name="_noviewer"
  20. FontSize="Medium"
  21. Text="File Not Available!"
  22. HorizontalOptions="Fill"
  23. HorizontalTextAlignment="Center"
  24. VerticalOptions="Fill"
  25. VerticalTextAlignment="Center"
  26. IsVisible="False"/>
  27. </Grid>
  28. </mobile:MobilePage.PageContent>
  29. </mobile:MobilePage>