Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/messier16/forms.controls
Home of all Messier16 Xamarin.Forms controls 😁 (now .NET standarized)
https://github.com/messier16/forms.controls
Last synced: 3 days ago
JSON representation
Home of all Messier16 Xamarin.Forms controls 😁 (now .NET standarized)
- Host: GitHub
- URL: https://github.com/messier16/forms.controls
- Owner: messier16
- License: mit
- Created: 2017-09-15T15:48:24.000Z (about 7 years ago)
- Default Branch: net-standard
- Last Pushed: 2018-09-14T12:38:05.000Z (about 6 years ago)
- Last Synced: 2024-11-08T19:52:59.803Z (8 days ago)
- Language: C#
- Size: 369 KB
- Stars: 20
- Watchers: 2
- Forks: 8
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Forms.Controls
Home of all Messier16 Xamarin.Forms controls 😁 (now .NET standarized1)Be aware that some functionality might have changed from the previous versions to the 2.X.X (the NET Standard one), if you find any errors (or something that used to work on your previous version but it doesn't anymore), please, submit an [issue](https://github.com/messier16/Forms.Controls/issues/new).
See more Xamarin related posts here: [https://thatcsharpguy.com](https://thatcsharpguy.com/tag/Xamarin/)
## Installing this thing
Get it on NuGet: [Messier16.Forms.Controls](https://www.nuget.org/packages/Messier16.Forms.Controls)
## Using this thing
Make sure you call (as standard with most plugins) the following line in each and every of your client projects:
```
Messier16Controls.InitAll();
```### Per platform nuances
There are some specific things that you must take into account when working with the controls, find the details below.#### Forms.Controls.iOS
##### For the RatingBar to work on iOS:
- You must provide a pair of images as image resources, you'll need one to represent an empty rating state and a filled rating state. I have provided a couple of them ([star.png](https://github.com/messier16/Forms.Controls/blob/net-standard/Sample/SampleNuGetApp/SampleNuGetApp.iOS/Resources/star%403x.png) and [star_filled.png](https://github.com/messier16/Forms.Controls/blob/net-standard/Sample/SampleNuGetApp/SampleNuGetApp.iOS/Resources/star_filled%403x.png)) but I strongly suggest you provide your own images to tailor the experience in your app.
- You **must set** the properties `FilledImage` and `Image` of the `RatingBar` object, to point to the previously mentioned files:
```
ratingBar1.FilledImage = "star_filled.png";
ratingBar1.Image = "star.png";
```1It probably will give you a horrible warning, but it should work without issues.