diff --git a/EgwCoreLib.BlazorTest/Pages/TestPdfViewer.razor b/EgwCoreLib.BlazorTest/Pages/TestPdfViewer.razor index ad92c78..e23ccb4 100644 --- a/EgwCoreLib.BlazorTest/Pages/TestPdfViewer.razor +++ b/EgwCoreLib.BlazorTest/Pages/TestPdfViewer.razor @@ -16,32 +16,12 @@ - Height - - @* Compo - *@ -
- - @* @if (CompoSel == 1) - { - } - else - { - - } *@ +
+

Selezione: @FileSel

diff --git a/EgwCoreLib.BlazorTest/Pages/TestPdfViewer.razor.cs b/EgwCoreLib.BlazorTest/Pages/TestPdfViewer.razor.cs index 47fb4ef..98e14eb 100644 --- a/EgwCoreLib.BlazorTest/Pages/TestPdfViewer.razor.cs +++ b/EgwCoreLib.BlazorTest/Pages/TestPdfViewer.razor.cs @@ -74,6 +74,8 @@ namespace EgwCoreLib.BlazorTest.Pages private string baseUri = ""; private string fileUrl = ""; + private Dictionary heightList { get; set; } = new Dictionary() { { "200", "200px" }, { "400", "400px" }, { "600", "600px" }, { "800", "800px" }, { "1000", "1000px" } }; + #endregion Private Properties #region Private Methods diff --git a/EgwCoreLib.Razor/PdfDisplay.razor b/EgwCoreLib.Razor/PdfDisplay.razor index 3465e75..ecfa851 100644 --- a/EgwCoreLib.Razor/PdfDisplay.razor +++ b/EgwCoreLib.Razor/PdfDisplay.razor @@ -1,10 +1,26 @@ -@if (isMobile) +
+
+
+ @(isMobile ? "Mobile" : "Desktop") +
+
+
+
+ H + +
+
+
+@if (isMobile) { -

Mobile