EmailBox (Validation)

Text box for email with automatic validation.




About Current Version 1.7.0



- Field IsFocused, Events Focused, Unfocused and Property InputTransparent have been discontinued.
- Added new Event EnterField in NumericBox, EmailBox and TextBox.
- Now all events it's working in code behind.

About Previous Version



- WidthRequest, Border and HeightRequest properties have been discontinued. Add new "Width" property.

Example



You can enter a Label to show errors in field validation, which automatically changes text, border and background color when there is an error facilitating interaction with the user.

Tag:
<lv:EmailBox x:Name="txtEmail" Padding="2" Placeholder="Email" FontType="Bold" BackgroundColor="White" IsReadOnly="True" EmailColorError="Yellow" CanEmpty="False" BorderColorError="Red" BackgroundColorError="Salmon" EmailColor="Orange" ValidationType="WhenLoseFocus" ChangeMessageLabel="False" LabelMessageError="{Reference errorMail}"/>

<Label: x:Name="errorMail" FontSize="Micro" Margin="4" Text="Verify email, is oncorrect." HorizontalOptions="FillAndExpand" VerticalOptions="StartAndExpand" TextColor="Red"/>

If use Form:
If used together with the form it is possible to enable the (submit) button only if the fields are valid, improving and much usability.


Download

Documentation



Available in pdf

Documentation download