|
|
@ -5,7 +5,27 @@ |
|
|
|
x:Class="CircleViewerMaui.MainPage"> |
|
|
|
|
|
|
|
<ContentPage.Content> |
|
|
|
<pdfViewer:SfPdfViewer x:Name="PdfViewer" VerticalOptions="Fill"> |
|
|
|
</pdfViewer:SfPdfViewer> |
|
|
|
<Grid x:Name="mainGrid"> |
|
|
|
<Grid.RowDefinitions> |
|
|
|
<RowDefinition Height="50" /> |
|
|
|
<RowDefinition Height="*" /> |
|
|
|
</Grid.RowDefinitions> |
|
|
|
<AbsoluteLayout> |
|
|
|
<Grid x:Name="toolbar" Grid.Row="0" BackgroundColor="#E9E9E9" HorizontalOptions="Fill" VerticalOptions="Fill"> |
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
<ColumnDefinition Width="1*" /> |
|
|
|
<ColumnDefinition Width="0.4*" /> |
|
|
|
<ColumnDefinition Width="1*" /> |
|
|
|
<ColumnDefinition Width="1*" /> |
|
|
|
<ColumnDefinition Width="1*" /> |
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
<Button x:Name="openButton" Grid.Column="3" BackgroundColor="Yellow" TextColor="Black" Text="Open" HorizontalOptions="Center" VerticalOptions="Center" Clicked="onOpenClicked"/> |
|
|
|
</Grid> |
|
|
|
</AbsoluteLayout> |
|
|
|
<Grid x:Name="pdfViewGrid" Grid.Row="1"> |
|
|
|
<pdfViewer:SfPdfViewer x:Name="PdfViewer" VerticalOptions="Fill"> |
|
|
|
</pdfViewer:SfPdfViewer> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
</ContentPage.Content> |
|
|
|
</ContentPage> |