All Projects → LeoJHarris → Enhancedentry

LeoJHarris / Enhancedentry

Licence: mit
Extended Xamarin Forms Entry with custom behaviours.

Projects that are alternatives of or similar to Enhancedentry

Formswpflive
Live XAML development for Xamarin Forms Apps using WPF Backend.
Stars: ✭ 14 (-78.12%)
Mutual labels:  xamarin, xamarin-forms
Facialrecognitionlogin
An iOS and Android app that uses facial recognition to enhance the security of a login page. Built using Xamarin.Forms and Microsoft Cognitive Services.
Stars: ✭ 46 (-28.12%)
Mutual labels:  xamarin, xamarin-forms
Xamarin.forms.artoolkit
Augmented Reality Toolkit for Xamarin Forms
Stars: ✭ 14 (-78.12%)
Mutual labels:  xamarin, xamarin-forms
Fabulous Simple Elements
An alternative view rendering API for Fabulous (Elmish Xamarin.Forms) that is easy to use and simple to read, inspired by Elmish on the web.
Stars: ✭ 43 (-32.81%)
Mutual labels:  xamarin, xamarin-forms
Mvvmnano
The small and smart MVVM framework made with ❤ for Xamarin.Forms.
Stars: ✭ 53 (-17.19%)
Mutual labels:  xamarin, xamarin-forms
Tabstrip
Tab Strip control for Xamarin.Forms
Stars: ✭ 25 (-60.94%)
Mutual labels:  xamarin, xamarin-forms
Azure For Developers Workshop
The Azure cloud is huge and the vast service catalog may appear daunting at first, but it doesn’t have to be!
Stars: ✭ 38 (-40.62%)
Mutual labels:  xamarin, xamarin-forms
Essential Ui Kit For Xamarin.forms
Free and beautiful XAML template pages for Xamarin.Forms apps.
Stars: ✭ 780 (+1118.75%)
Mutual labels:  xamarin, xamarin-forms
Xamarin Forms Walkthrough
Mobile App Walkthrough created with Xamarin.Forms
Stars: ✭ 46 (-28.12%)
Mutual labels:  xamarin, xamarin-forms
Rg.plugins.popup
Xamarin Forms popup plugin
Stars: ✭ 964 (+1406.25%)
Mutual labels:  xamarin, xamarin-forms
Aprende Xamarin
Aprende C# y Xamarin desde cero! Auto-guiado y a tu ritmo. Dale ⭐si te gusta. Documentación disponible en el Wiki (website)
Stars: ✭ 53 (-17.19%)
Mutual labels:  xamarin, xamarin-forms
Mvvmlight
The main purpose of the toolkit is to accelerate the creation and development of MVVM applications in Xamarin.Android, Xamarin.iOS, Xamarin.Forms, Windows 10 UWP, Windows Presentation Foundation (WPF), Silverlight, Windows Phone.
Stars: ✭ 973 (+1420.31%)
Mutual labels:  xamarin, xamarin-forms
Realm Dotnet
Realm is a mobile database: a replacement for SQLite & ORMs
Stars: ✭ 927 (+1348.44%)
Mutual labels:  xamarin, xamarin-forms
Csla
A home for your business logic in any .NET application.
Stars: ✭ 865 (+1251.56%)
Mutual labels:  xamarin, xamarin-forms
Brainpowerapp
A visual memory training game, a mobile game made with Xamarin for both Android and IOS .
Stars: ✭ 17 (-73.44%)
Mutual labels:  xamarin, xamarin-forms
Xamarin
Presentations for building native mobile apps with .NET and Xamarin
Stars: ✭ 49 (-23.44%)
Mutual labels:  xamarin, xamarin-forms
Xamarin.forms.pancakeview
An extended ContentView for Xamarin.Forms with rounded corners, borders, shadows and more!
Stars: ✭ 744 (+1062.5%)
Mutual labels:  xamarin, xamarin-forms
Reactiveui
An advanced, composable, functional reactive model-view-viewmodel framework for all .NET platforms that is inspired by functional reactive programming. ReactiveUI allows you to abstract mutable state away from your user interfaces, express the idea around a feature in one readable place and improve the testability of your application.
Stars: ✭ 6,709 (+10382.81%)
Mutual labels:  xamarin, xamarin-forms
Uisleuth
A Xamarin.Forms Inspector
Stars: ✭ 21 (-67.19%)
Mutual labels:  xamarin, xamarin-forms
Vsmacdeepclean
Visual Studio for macOS add-in / extension that brings you tasty features.
Stars: ✭ 33 (-48.44%)
Mutual labels:  xamarin, xamarin-forms

Enhanced Entry for Xamarin Forms

Build Status

A simple extended Xamarin Forms Entry with custom behaviours.

Setup

Available on NuGet: https://www.nuget.org/packages/LeoJHarris.XForms.Plugin.EnhancedEntry NuGet Install into your Xamarin.Forms project including client project i.e. .Android, .iOS etc.

Gif Demo

EnhancedEntry Gif

Sample Code

https://github.com/LeoJHarris/EnhancedEntry/blob/master/SampleApp/SampleApp/Page1.xaml.cs

Usage

You must do this AFTER you call Xamarin.Forms.Init();

In your Android

 Xamarin.Forms.Init();
 LeoJHarris.FormsPlugin.Droid.EnhancedEntryRenderer.Init(this);

In your iOS

 Xamarin.Forms.Forms.Init(); 
 LeoJHarris.FormsPlugin.iOS.EnhancedEntryRenderer.Init();
 LoadApplication(new App());

XAML

First add the xmlns namespace:

 xmlns:enhancedEntry="clr-namespace:LeoJHarris.FormsPlugin.Abstractions;assembly=LeoJHarris.FormsPlugin.Abstractions"

Then add the xaml (or just use the code behind)

Bindable Properties

  • LeftIcon

Places an icon to the left inside the entry, icons to be placed inside respective drawable folders and iOS in the resources files, set the PaddingLeftIcon for padding space between icon and entry text.

  • BorderWidth

Must be set for respective bindables such as CornerRadius, FocusBorderColor etc.

  • FocusBorderColor

When the entry has focus otherwise the BorderColor will be set when off focus.

  • BackgroundColor

  • LeftPadding, TopBottomPadding and RightPadding

Desired padding between the Entry text and the edge of the Entry.

  • ReturnKeyType

Displayed for the keyboard action button. Run time exception will be thrown if unsupported on platform.

  • NextEntry

Entry that will be given focus when keyboard action button pressed and keyboard ReturnKeyType is type - Next, otherwise if GoToNextEntryOnLengthBehaviour has been added and condition is satisfied.

  • KeyBoardAction

Given command parameter to execute when keyboard action button pressed and ReturnKeyType is type - Done.

Custom Behaviours

  • PasswordCompareValidationBehavior

Compare entries given some condition checks. Each entry should contain in the collection PasswordCompareValidation the entries to compare (see examples above), additional bindable properties include ValidColor and InValidColor that apply if there is or isn't a match between the collection of Entries.

PLEASE NOTE: Although these bindable properties are set per entry, they should all have the same values for all entries to check in the collection. You are able to set the MinimumLength of the passwords. Currently the password validation requires an uppercase, lowercase and a number, therefore the minimum length can be set.

  • EmailValidatorBehavior

Used for emails. The EmailRegularExpression bindable property can be overridden if desired.

  • GoToNextEntryOnLengthBehaviour

Sets focus to the NextEntry on the given CharacterLength. In addition required to set MaxLengthValidator i.e. MaxLength="1" to ensure that the entry doesn't exceed the CharacterLength

  • ShowHiddenEntryEffect

Toggles visibility of text with type password. Use Effects = { new ShowHiddenEntryEffect() }

  • MaskedBehavior

Applies a mask to the Entry. Bindable properties InValidColor and ValidColor can be set to update the color for of the drawable image within the Entry. Please set LeftIcon to enable this. Refer to docs.

License

Licensed under MIT, see license file

As with any open source project if you see improvements feel free to add your PR's

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].