Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/TBertuzzi/Xamarin.Forms.ConvertersPack
:arrows_counterclockwise: Package with multiple converters for Xamarin.Forms
https://github.com/TBertuzzi/Xamarin.Forms.ConvertersPack
Last synced: 30 days ago
JSON representation
:arrows_counterclockwise: Package with multiple converters for Xamarin.Forms
- Host: GitHub
- URL: https://github.com/TBertuzzi/Xamarin.Forms.ConvertersPack
- Owner: TBertuzzi
- Created: 2018-10-19T14:05:06.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-29T01:13:02.000Z (over 4 years ago)
- Last Synced: 2024-11-08T14:05:08.586Z (about 1 month ago)
- Language: C#
- Homepage:
- Size: 343 KB
- Stars: 27
- Watchers: 4
- Forks: 10
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-xamarin-forms - Xamarin.Forms.ConvertersPack ★26
README
# Xamarin.Forms.ConvertersPack
Package with multiple converters for Xamarin.Forms.
###### This is the component, works on iOS, Android and UWP.**NuGet**
|Name|Info|
| ------------------- | :------------------: |
|Xamarin.Forms.ConvertersPack|[![NuGet](https://buildstats.info/nuget/Xamarin.Forms.ConvertersPack)](https://www.nuget.org/packages/Xamarin.Forms.ConvertersPack/)|**Platform Support**
Xamarin.Forms.ConvertersPack is a .NET Standard 2.0 library.Its only dependency is the Xamarin.Forms
## Setup / Usage
Does not require additional configuration. Just install the package in the shared project and use.
You just need to add the reference in your xaml file.
```csharp
xmlns:converterPack="clr-namespace:Xamarin.Forms.ConvertersPack;assembly=Xamarin.Forms.ConvertersPack"
``````csharp
```
**Available Converters**
* **CurrencyConverter** : Converts your entry to a money field.
* **DecimalConverter** : Decimal Converter.
* **EqualsConverter** : Compare if two fields are the equals.
* **HasDataConverter** : Returns whether an object or a list has data.
* **HexToColorConverter** : Converts hexadecimal to color.
* **ImageFromByteArrayConverter** : Converts an array of bytes to Image.
* **ImageFromFileConverter** : Converts an image from a local repository to Image.
* **InvertedBooleanConverter** : Invert the value of a boolean.
* **ItemTappedEventArgsConverter** : Converts a selected item to an object. Ideal for Listview.
* **LowerTextConverter** : Converts your text to lowercase.
* **NullToBooleanConverter** : Checks the value if it is null and returns true or false.
* **UpperTextConverter** : Converts your text to uppercase.The complete example can be downloaded here: https://github.com/TBertuzzi/Xamarin.Forms.ConvertersPack/tree/master/ConvertersPackSample