You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
1.5 KiB

1 year ago
1 year ago
1 year ago
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
  4. xmlns:pdfViewer="http://schemas.syncfusion.com/maui"
  5. x:Class="CircleViewerMaui.MainPage">
  6. <ContentPage.Content>
  7. <Grid x:Name="mainGrid">
  8. <Grid.RowDefinitions>
  9. <RowDefinition Height="50" />
  10. <RowDefinition Height="*" />
  11. </Grid.RowDefinitions>
  12. <AbsoluteLayout>
  13. <Grid x:Name="toolbar" Grid.Row="0" BackgroundColor="#E9E9E9" HorizontalOptions="Fill" VerticalOptions="Fill">
  14. <Grid.ColumnDefinitions>
  15. <ColumnDefinition Width="1*" />
  16. <ColumnDefinition Width="0.4*" />
  17. <ColumnDefinition Width="1*" />
  18. <ColumnDefinition Width="1*" />
  19. <ColumnDefinition Width="1*" />
  20. </Grid.ColumnDefinitions>
  21. <Button x:Name="openButton" Grid.Column="3" BackgroundColor="Yellow" TextColor="Black" Text="Open" HorizontalOptions="Center" VerticalOptions="Center" Clicked="onOpenClicked"/>
  22. </Grid>
  23. </AbsoluteLayout>
  24. <Grid x:Name="pdfViewGrid" Grid.Row="1">
  25. <pdfViewer:SfPdfViewer x:Name="PdfViewer" VerticalOptions="Fill">
  26. </pdfViewer:SfPdfViewer>
  27. </Grid>
  28. </Grid>
  29. </ContentPage.Content>
  30. </ContentPage>