Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoJHarris committed Jan 1, 2019
2 parents 2ad0f04 + e6e6c89 commit 5f71edb
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,59 +45,59 @@ Then add the xaml (or just use the code behind)

**Bindable Properties**

* LeftIcon
* `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
* `BorderWidth`

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

* FocusBorderColor
* `FocusBorderColor`

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

* BackgroundColor
* `BackgroundColor`

* LeftPadding, TopBottomPadding and RightPadding
* `LeftPadding, TopBottomPadding and RightPadding`

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

* ReturnKeyType
* `ReturnKeyType`

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

* NextEntry
* `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
* `KeyBoardAction`

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

**Custom Behaviours**

* PasswordCompareValidationBehavior
* `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
* `EmailValidatorBehavior`

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

* GoToNextEntryOnLengthBehaviour
* `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
* `ShowHiddenEntryEffect`

Toggles between masked and unmasked of a entry with type password. Use `Effects = { new ShowHiddenEntryEffect() }`
Toggles visibility of text with type password. Use `Effects = { new ShowHiddenEntryEffect() }`

* MaskedBehavior
* `MaskedBehavior`

Applies a mash 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.
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**

Expand Down

0 comments on commit 5f71edb

Please sign in to comment.