Extended features for Xamarin Entry control
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 3 commits ahead, 1 commit behind shiwankaswe:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
XamarinFastEntry
LICENSE
README.md
SampleScreen.png
logo.png

README.md

XamarinFastEntry

NuGet

Extended features for Xamarin Entry control.

  1. Masked Text Box
  2. Max Length Controller
  3. Numeric Entry
  4. Amount Entry
  5. Numeric With Space

This is a free Source that any one can use with their xamarin projects

I have created this project to full fill the one my project requirement, I have searched on the internet to find some library or sample code, but unluckily I did not found any good solution. then I decided to make it on my own.
And i need to share what i did with other people to make their work easier

This Created using Exteneding a Behavior<Entry>

How to Use it in the YOur Application

Import your behaviour Entry into Xaml

xmlns:behaviors=“clr-namespace:XamarinFastEntrySample.FastEntry”

Define the Max Length for the Entry

<Entry x:Name=“maxLengthEntry” Text="{Binding maxLengthEntry, Mode=TwoWay}" HeightRequest=“40” Placeholder="" >
<Entry.Behaviors>
<behaviors:XamarinFastEntryBehaviour MaxLength=“5” />
</Entry.Behaviors>
</Entry>

Numeric Only Entry

<Entry x:Name=“numberOnlyEntry” HeightRequest=“40” Text="{Binding numberOnlyEntry, Mode=TwoWay}" Placeholder="" >
<Entry.Behaviors>
<behaviors:XamarinFastEntryBehaviour IsNumeric=“true” />
</Entry.Behaviors>
</Entry>

Use with Amunt Entry Box

<Entry x:Name=“amountOnlyEntry” HeightRequest=“40” Text="{Binding amountOnlyEntry, Mode=TwoWay}" Placeholder="" >
<Entry.Behaviors>
<behaviors:XamarinFastEntryBehaviour IsAmount=“true” />
</Entry.Behaviors>
</Entry>

Max Length With Number only Entry

<Entry x:Name=“numberOnlyMaxLengthEntry” HeightRequest=“40” Text="{Binding numberOnlyMaxLengthEntry, Mode=TwoWay}" Placeholder="" >
<Entry.Behaviors>
<behaviors:XamarinFastEntryBehaviour IsNumeric=“true” MaxLength=“3” />
</Entry.Behaviors>
</Entry>

Mask Entry

<Entry x:Name=“maskEntry” HeightRequest=“40” Text="{Binding maskEntry, Mode=TwoWay}" Placeholder="" >
<Entry.Behaviors>
<behaviors:XamarinFastEntryBehaviour Mask="## ## ###" />
</Entry.Behaviors>
</Entry>