Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

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