May 2019
Intermediate to advanced
504 pages
11h 50m
English
A Xamarin.Forms control can be created for various reasons, one of which is to decrease the clutter in your XAML tree and create reusable view blocks. Let's begin:
<Label x:Name="lblUserName" Text="..." /><Entry x:Name="txtUserName" Placeholder=".." Text="..." > <Entry.Behaviors> <behaviors:ValidationBehavior x:Name="UserNameValidation" ValidationRule="..." /> </Entry.Behaviors></Entry><Label x:Name="errUserName" Text="..." IsVisible="..."/>
The control block is composed of a label that is associated with the entry and the error label, which is only visible if there is a validation error ...
Read now
Unlock full access