Forms9Patch 0.9.11

Xamarin Forms is great for developing apps on Android and iOS but it is missing two important tools for developers: scalable images and PCL multi-screen image management.  Android developers use NinePatch bitmaps and the drawable directory naming convention for this purpose.  Likewise, iOS developers use ResizeableImageWithCapInsets and the @2x, @3x, @4x file naming convention for this purpose.

Forms 9 Patch enhances Xamarin Forms to enable multi-resolution / multi-screen image management to PCL apps for iOS and Android.

There is a newer version of this package available.
See the version list below for details.
Install-Package Forms9Patch -Version 0.9.11
dotnet add package Forms9Patch --version 0.9.11
<PackageReference Include="Forms9Patch" Version="0.9.11">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Forms9Patch --version 0.9.11
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

0.9.10.0: Added HTML markup to Label, MaterialButton, Segment, and ImageButtonState elements.
0.9.10.7: Built for Xamain Forms 2.2
0.9.10.6: Fixed crash when no Target is given for BubblePopup.  Fixed failure to present popups when used w/ PushModalAsync().
0.9.10.4: Added Cancel method to Popups; Auto-cancel Popups when Android [back] button is pressed.
0.9.10.3: Improved reliabilty of rendering of 9patch backgrounds when used in ListView in Android.
0.9.10.2: Fixed AOT issue that caused BubblePopup not to work on iOS devices.
0.9.10.1: Fixed layout of NinePatch backgrounds when used in a ListView on Android.
0.9.10.0: Added ModalPopup and BubblePopup elements.  See demo app for example.
0.9.9.3: 25x Improved tap response on all buttons; Fixed ImageButton.Background rendering issue.
0.9.9.2: 3x Improved iOS image loading time.  Known issue: ImageButton Fails to present anything but DefaultState.BackgroundImage - will be fixed very soon.
0.9.9.1: Fixed issue with comping for iOS devices.
0.9.9.0: Added:
(1) PressingState to ImageButton to enable customization of the button for when it is in the pressed state.
(2) LongPressing and LongPressed events have been added to the ImageButton, MaterialButton, and Segment element.
(3) SegmentLongPressing and SegmentLongPressed events have been added to the MaterialSegmentedControl element.
(4) Renamed ImageButton's Clicked event to Tapped.
0.9.8.2: Fixed not all XAML attributes working for ImageButtonState.
0.9.8.1: Fixed:  XAML Segments Attribute for MaterialSegmentButton; Added FontColor and FontAttributes properties to Segment
0.9.8.0+ Added MaterialSegmentControl, Added Orientation property to MaterialButton
0.9.7.1 Fixed: MaterialButton render when image but no text present.
0.9.7.0 Added ImageButton and MaterialButton elements, Added HasShadow property to Android and iOS AbsoluteLayout, Frame, Grid, RelativeLayout, and StackLayout layouts.
0.9.6.0 Fixed intermittant iOS UIImage.ImageWithData double free, Added RelativeLayout, Grid, and AbsoluteLayout Elements
0.9.5.2 Fixed ContentView background scalable image rendered as non-scalable image if CapsInset has a one or two -1 values
0.9.5.1 Fixed scaling of ContentView BackgroundImage
0.9.5 1) Added Fill (AspectFill, AspectFit, Fill and Tile) property to Image; 2) Added ContentView and Frame elements with BackgroundView and (for Frame) OutlineWidth and OutlineRadius properties
0.9.4 Bug fix Correct resizing when iOS screen orientation changes
0.9.3 fix race condition during debug where iOS Renderer releases Element before releasing renderer.
0.9.2 Bug fix for not properly scaling when parent space is smaller than base image but larger than base image less complaint portion.
0.9.1 beta release
0.9.1 fix: scaling of scalable images larger than parent space

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.2.6 4,251 3/15/2020
2.2.5 274 3/14/2020
2.2.5-beta1 199 3/14/2020
2.2.4 1,923 1/28/2020
2.2.4-beta1 77 1/23/2020
2.2.3 1,581 1/4/2020
2.2.3-pre1 136 1/4/2020
2.2.2 469 12/31/2019
2.2.1 179 12/30/2019
2.2.0 201 12/26/2019
2.1.3 1,257 12/10/2019
2.1.2 2,463 11/27/2019
2.1.1 169 11/26/2019
2.1.0 142 11/26/2019
2.1.0-beta1 93 11/22/2019
2.0.2 792 11/13/2019
2.0.1 128 11/12/2019
2.0.0 217 11/11/2019
2.0.0-rc1 77 11/11/2019
1.8.1 1,578 9/17/2019
1.8.0.5 1,247 8/15/2019
1.8.0.4 1,281 7/26/2019
1.8.0.2 1,363 7/9/2019
1.8.0.1 867 7/5/2019
1.8.0 1,380 6/26/2019
1.7.0 10,252 4/22/2019
1.6.7.2 1,544 4/12/2019
1.6.7.1 931 4/11/2019
1.6.7 857 4/11/2019
1.6.6.2 1,167 4/7/2019
1.6.6.1 1,595 3/22/2019
1.6.6 6,204 3/2/2019
1.6.5.1 1,193 2/6/2019
1.6.5.1-rc2 858 2/1/2019
1.6.5.1-rc1 858 1/30/2019
1.6.5 1,258 1/28/2019
1.6.4 11,890 12/5/2018
1.6.3 6,561 11/25/2018
1.6.2.1 2,642 11/16/2018
1.6.2 1,100 11/15/2018
1.6.1 1,173 11/2/2018
1.6.0.1 923 10/30/2018
1.6.0-rc5 864 10/30/2018
1.6.0-rc4 860 10/30/2018
1.6.0-rc3 866 10/29/2018
1.6.0-rc2 905 10/27/2018
1.6.0-rc1 861 10/27/2018
1.5.0.9 5,961 10/23/2018
1.5.0.9-beta1 896 10/22/2018
1.5.0.8 990 10/22/2018
1.5.0.7-rc1 909 10/20/2018
1.5.0.6 1,077 10/12/2018
1.5.0.5 946 10/12/2018
1.5.0-rc1 915 10/9/2018
1.4.0.3 1,556 9/7/2018
1.4.0.2 911 9/7/2018
1.4.0.1 913 9/7/2018
1.4.0 1,001 9/5/2018
1.3.3 2,311 6/28/2018
1.3.2 3,143 6/19/2018
1.3.1 1,368 5/15/2018
1.3.0 1,157 5/11/2018
1.2.0.3 1,157 4/19/2018
1.2.0 1,101 4/17/2018
1.1.1 1,432 2/19/2018
1.1.0 1,509 1/6/2018
1.0.1.3 1,108 1/5/2018
1.0.1.2 1,302 1/4/2018
1.0.1.1 1,078 1/2/2018
1.0.0 1,096 12/28/2017
0.10.3.5 9,458 10/26/2017
0.10.3.4 2,432 10/7/2017
0.10.3.3 5,104 8/14/2017
0.10.3.2 1,245 8/2/2017
0.10.3.1 1,262 7/10/2017
0.10.3 1,174 6/27/2017
0.10.2.16 1,168 6/21/2017
0.10.2.13 1,286 5/30/2017
0.10.2.12 1,116 5/23/2017
0.10.2.11 1,232 5/10/2017
0.10.2.10 1,153 5/3/2017
0.10.2.9 1,091 5/3/2017
0.10.2.8 1,076 5/3/2017
0.10.2.7 1,116 5/1/2017
0.10.2.6 1,381 4/16/2017
0.10.2.5 1,073 4/16/2017
0.10.2.4 1,149 4/10/2017
0.10.2.3 1,176 3/28/2017
0.10.2.2 1,809 3/2/2017
0.10.2.1 1,693 2/22/2017
0.10.1 1,281 2/16/2017
0.10.0.1 1,128 2/13/2017
0.10.0 1,109 2/11/2017
0.9.13.5 3,340 10/13/2016
0.9.13.4 1,181 9/26/2016
0.9.13.3 1,164 9/21/2016
0.9.13.2 1,116 9/15/2016
0.9.13.1 1,153 9/1/2016
0.9.13 1,205 8/22/2016
0.9.12.5 1,150 8/17/2016
0.9.12.4 1,310 8/6/2016
0.9.12.3 1,237 7/19/2016
0.9.12.2 1,301 7/16/2016
0.9.12.1 1,261 7/13/2016
0.9.12 1,234 7/11/2016
0.9.11.2 1,215 6/27/2016
0.9.11.1 1,346 5/10/2016
0.9.11 1,247 5/5/2016
0.9.10.7 1,109 4/29/2016
0.9.10.6 1,129 4/12/2016
0.9.10.5 1,131 4/5/2016
0.9.10.4 1,098 3/31/2016
0.9.10.3 1,114 3/23/2016
0.9.10.2 1,114 3/21/2016
0.9.10.1 1,092 3/21/2016
0.9.10 1,255 3/11/2016
0.9.9.3 1,309 3/1/2016
0.9.9.2 1,106 3/1/2016
0.9.9.1 1,111 2/28/2016
0.9.9 1,099 2/25/2016
0.9.8.2 1,108 2/19/2016
0.9.8.1 1,120 2/5/2016
0.9.8 1,097 2/4/2016
0.9.7.1 1,122 1/29/2016
0.9.7 1,097 1/28/2016
0.9.6 1,127 1/24/2016
0.9.5.2 1,096 1/21/2016
0.9.5.1 1,096 1/20/2016
0.9.5 1,101 1/20/2016
0.9.4.1 1,158 1/14/2016
0.9.3 1,106 1/13/2016
0.9.2.3 1,114 1/9/2016
0.9.1 1,131 1/4/2016
Show less