Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/TBertuzzi/Xamarin.Forms.MaskedEntry
:pencil: Use mask in your Xamarin.Forms apps
https://github.com/TBertuzzi/Xamarin.Forms.MaskedEntry
masked maskedinput xamarin xamarin-forms
Last synced: 29 days ago
JSON representation
:pencil: Use mask in your Xamarin.Forms apps
- Host: GitHub
- URL: https://github.com/TBertuzzi/Xamarin.Forms.MaskedEntry
- Owner: TBertuzzi
- Created: 2018-06-21T11:25:31.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-10-05T21:32:00.000Z (about 3 years ago)
- Last Synced: 2024-11-08T14:05:11.691Z (about 1 month ago)
- Topics: masked, maskedinput, xamarin, xamarin-forms
- Language: C#
- Homepage:
- Size: 488 KB
- Stars: 21
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-xamarin-forms - Xamarin.Forms.MaskedEntry ★17
README
# Xamarin.Forms.MaskedEntry
Use mask in your Xamarin.Forms apps
Based on MaskedBehavior by [Adam Pedley](https://github.com/adamped) (https://xamarinhelp.com/masked-entry-in-xamarin-forms/).
When we need to use masks in Xamarin.Forms we end up customizing a control or using behaviors.
MaskedEntry is a custom entry to use any type of mask. just use X between the sequence of characters you want to configure.
X can be used both to demonstrate where values should be in the masks, and to limit the amount of characters in a field.
###### This is the component, works on iOS, Android and UWP.
**NuGet**
|Name|Info|
| ------------------- | :------------------: |
|Xamarin.Forms.MaskedEntry|[![NuGet](https://buildstats.info/nuget/Xamarin.Forms.MaskedEntry)](https://www.nuget.org/packages/Xamarin.Forms.MaskedEntry/)|**Platform Support**
Xamarin.Forms.MaskedEntry 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:control="clr-namespace:Xamarin.Forms.MaskedEntry;assembly=Xamarin.Forms.MaskedEntry"
```**Sample**
```csharp
```The complete example can be downloaded here: https://github.com/TBertuzzi/Xamarin.Forms.MaskedEntry/tree/master/MaskedEntrySample