Submit

Used together with the form it is possible to enable only if the fields are valid, improving and much usability.




About Current Version 2.4.0



- Added new ColorUI "OrangeLight" and "YellowDark".

About Previous Version



- Added new Vivacity "Jump" in Submit(Button).
- In Submit WidthRequest, HeightRequest, BackgroundColor, BackgroundColorReadOnly, TextColorReadOnly, BorderColorReadOnly properties have been discontinued, the Clicked event was also discontinued.

Example



Contains several properties ColorUI, TextColor, BorderColor, FontZise.

Tag:
<lv:Form x:Name="formFEC" ButtonSubmit="{Reference btnSave}" >

          <lv:TextBox x:Name="txtSKU" Padding="4" WidthRequest="20" Placeholder="SKU" FontType="Bold" BackgroundColor="White" MaximumOfCharacters="10" MinimumOfCharacters="4" TextColorError="Yellow" CanEmpty="False" BorderColorError="Red" BackgroundColorError="Red" TextColor="Orange" ValidationType="WhenLoseFocus" ChangeMessageLabel="True" />

          <lv:NumericBox x:Name="txtPrice" Padding="4" Placeholder="Price" FontType="Bold" BackgroundColor="White" HorizontalOptions="FillAndExpand" Maximum="4" NumberColorError="Yellow" NumericType="Double" BorderColorError="Red" BackgroundColorError="Red" NumberColor="Orange" ValidationType="CharacterToCharacter" LabelMessageError="{Reference errorPrice}" NumberOfDecimals="2" ChangeMessageLabel="True" />

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

          <Submit x:Name="btnSave" BorderColor="Black" ColorUI="Black" TextReadOnly="Invalid Fields" TextColor="White" Text="Save" Touched="BtnSave_Touched" />

</lv:Form>



The images are inside android project Resources/drawable.
Download

Documentation



Available in pdf

Documentation download