gene
2 years ago
7 changed files with 101 additions and 55 deletions
-
BINCircleViewer/.vs/CircleViewer/v17/.suo
-
6CircleViewerMaui/App.xaml.cs
-
1CircleViewerMaui/AppShell.xaml
-
8CircleViewerMaui/CircleViewerMaui.csproj
-
49CircleViewerMaui/MainPage.xaml
-
71CircleViewerMaui/MainPage.xaml.cs
-
7CircleViewerMaui/MauiProgram.cs
@ -1,45 +1,16 @@ |
|||
<?xml version="1.0" encoding="utf-8" ?> |
|||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" |
|||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" |
|||
xmlns:pdfViewer="http://schemas.syncfusion.com/maui" |
|||
x:Class="CircleViewerMaui.MainPage"> |
|||
|
|||
<ScrollView> |
|||
<ScrollView.GestureRecognizers> |
|||
<DragGestureRecognizer /> |
|||
<DropGestureRecognizer /> |
|||
</ScrollView.GestureRecognizers> |
|||
<VerticalStackLayout |
|||
Spacing="25" |
|||
Padding="30,0" |
|||
VerticalOptions="Center"> |
|||
|
|||
<Image |
|||
Source="dotnet_bot.png" |
|||
SemanticProperties.Description="Cute dot net bot waving hi to you!" |
|||
HeightRequest="200" |
|||
HorizontalOptions="Center" /> |
|||
|
|||
<Label |
|||
Text="Hello, World!" |
|||
SemanticProperties.HeadingLevel="Level1" |
|||
FontSize="32" |
|||
HorizontalOptions="Center" /> |
|||
|
|||
<Label |
|||
Text="Welcome to .NET Multi-platform App UI" |
|||
SemanticProperties.HeadingLevel="Level2" |
|||
SemanticProperties.Description="Welcome to dot net Multi platform App U I" |
|||
FontSize="18" |
|||
HorizontalOptions="Center" /> |
|||
|
|||
<Button |
|||
x:Name="CounterBtn" |
|||
Text="Click me" |
|||
SemanticProperties.Hint="Counts the number of times you click" |
|||
Clicked="OnCounterClicked" |
|||
HorizontalOptions="Center" /> |
|||
|
|||
</VerticalStackLayout> |
|||
</ScrollView> |
|||
|
|||
<ContentPage.MenuBarItems> |
|||
<MenuBarItem Text="File"> |
|||
<MenuFlyoutItem Text="Open" Clicked="onOpenClicked"/> |
|||
</MenuBarItem> |
|||
</ContentPage.MenuBarItems> |
|||
<ContentPage.Content> |
|||
<pdfViewer:SfPdfViewer x:Name="PdfViewer" VerticalOptions="Fill"> |
|||
</pdfViewer:SfPdfViewer> |
|||
</ContentPage.Content> |
|||
</ContentPage> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue