OnScreenSizeMarkup.Maui 3.0.18

dotnet add package OnScreenSizeMarkup.Maui --version 3.0.18
NuGet\Install-Package OnScreenSizeMarkup.Maui -Version 3.0.18
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="OnScreenSizeMarkup.Maui" Version="3.0.18" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add OnScreenSizeMarkup.Maui --version 3.0.18
#r "nuget: OnScreenSizeMarkup.Maui, 3.0.18"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install OnScreenSizeMarkup.Maui as a Cake Addin
#addin nuget:?package=OnScreenSizeMarkup.Maui&version=3.0.18

// Install OnScreenSizeMarkup.Maui as a Cake Tool
#tool nuget:?package=OnScreenSizeMarkup.Maui&version=3.0.18

OnScreenSizeMarkup.Maui

Purpose of the library

This library allows for the classification of diagonal screen sizes of mobile devices into a range of predefined sizes. This enables developers to create responsive layouts for different screen sizes.

Breaking Changes

Starting with version 3.0, we have modified the way the diagonal screen size is calculated to better support native screen resolution. If you require the previous behavior, please set the UseNativeScreenResolution property to false, as follows:

public App()
{
            OnScreenSizeMarkup.Maui.Manager.Current.UseNativeScreenResolution = false;

            InitializeComponent();
            .....
}
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-android31.0 is compatible.  net6.0-ios was computed.  net6.0-ios16.1 is compatible.  net6.0-maccatalyst was computed.  net6.0-maccatalyst16.1 is compatible.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.0.18 2,769 1/1/2024
3.0.11-preview-g53caa11673 222 8/21/2023
3.0.10-preview-ga458371a61 114 8/18/2023
3.0.8-preview-g33615095e2 109 8/18/2023
3.0.7-preview-g2f1d17a8bd 112 8/18/2023
3.0.2-preview-g1b956ea469 116 8/15/2023
2.0.8 4,850 6/26/2023
2.0.7 1,916 4/20/2023
2.0.6-alpha 596 4/5/2023
2.0.5-alpha 136 3/22/2023
2.0.3 422 3/1/2023
2.0.2 628 1/30/2023
2.0.1 1,215 7/24/2022
2.0.0-pre1 158 6/29/2022
1.0.4-pre1 142 6/10/2022
1.0.0 420 7/13/2022