Forms9Patch NuGet Package

Xamarin Forms is great for developing apps on Android, iOS, and Universal Windows Platform (UWP) but it is missing some important features:
- Scalable images
- NetStandard, PCL and Shared Library, multi-screen / multi-resolution image management
- HTML formatted text for labels and buttons
- NetStandard, PCL and Shared Library custom font management
- Hardware keyboard key detection
- On-Screen software keyboard height change events
- Support for multiple items of the same MIME type on the clipboard
- Support for inter-app Data Sharing

Android developers can use NinePatch bitmaps, the drawable directory naming convention, Html.FromHtml, and a bunch of complex file manipulations to address the image issue.

Likewise, iOS developers can use ResizeableImageWithCapInsets, the @2x, @3x, @4x file naming convention, and some 3rd party libraries for this purpose. Forms9Patch enhances Xamarin Forms to make multi-resolution / multi-screen image management, custom fonts, and HTML text formatting easy for NetStandard, PCL, and Shared Libary apps for iOS, Android and UWP.

Got any Forms9Patch Question?


Version: 2.4.9
Author(s): Ben Askren
Last Update: Wednesday, December 16, 2020
.NET Fiddle: Create the first Fiddle
Project Url:
NuGet Url:

Install-Package Forms9Patch
dotnet add package Forms9Patch
paket add Forms9Patch
Forms9Patch Download (Unzip the "nupkg" after downloading)

.NETStandard 2.0 monoandroid10 UAP 10.0 uap10 xamarinios10 2 packages depend on this package.