From 4941d663b41726c5f6235d8679be238c054ae7fc Mon Sep 17 00:00:00 2001 From: vvitalii Date: Wed, 18 Dec 2024 01:05:47 -0800 Subject: [PATCH] windows DisconnectHandler test --- Example/Business/UI/Pages/MainPage.xaml | 41 +++++++++++-------- Example/Business/UI/Pages/MainPage.xaml.cs | 6 +++ .../UI/ViewModels/MainPageViewModel.cs | 6 +++ Example/Example.csproj | 2 + Example/Properties/launchSettings.json | 2 +- Maui.PDFView/Maui.PDFView.csproj | 4 +- .../Platforms/Windows/PdfViewHandler.cs | 15 +++++-- 7 files changed, 53 insertions(+), 23 deletions(-) diff --git a/Example/Business/UI/Pages/MainPage.xaml b/Example/Business/UI/Pages/MainPage.xaml index c86e493..0ffaeb7 100644 --- a/Example/Business/UI/Pages/MainPage.xaml +++ b/Example/Business/UI/Pages/MainPage.xaml @@ -5,27 +5,26 @@ xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:pdf="clr-namespace:Maui.PDFView;assembly=Maui.PDFView" xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit" - Title="Example"> + Title="Example" + Unloaded="ContentPage_Unloaded"> - + + ColumnDefinitions="Auto,Auto,Auto,Auto" + ColumnSpacing="8" + RowDefinitions="Auto,Auto"> + Text="{Binding MaxZoom, StringFormat='Max zoom is {0}'}" /> + Minimum="1" + Value="{Binding MaxZoom}" />