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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 | Versions 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.
-
net6.0
- No dependencies.
-
net6.0-android31.0
- No dependencies.
-
net6.0-ios16.1
-
net6.0-maccatalyst16.1
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 | 19,999 | 1/1/2024 |
3.0.11-preview-g53caa11673 | 259 | 8/21/2023 |
3.0.10-preview-ga458371a61 | 136 | 8/18/2023 |
3.0.8-preview-g33615095e2 | 133 | 8/18/2023 |
3.0.7-preview-g2f1d17a8bd | 134 | 8/18/2023 |
3.0.2-preview-g1b956ea469 | 139 | 8/15/2023 |
2.0.8 | 5,072 | 6/26/2023 |
2.0.7 | 1,961 | 4/20/2023 |
2.0.6-alpha | 621 | 4/5/2023 |
2.0.5-alpha | 162 | 3/22/2023 |
2.0.3 | 450 | 3/1/2023 |
2.0.2 | 658 | 1/30/2023 |
2.0.1 | 1,252 | 7/24/2022 |
2.0.0-pre1 | 182 | 6/29/2022 |
1.0.4-pre1 | 168 | 6/10/2022 |
1.0.0 | 451 | 7/13/2022 |