in this tutorial i will show you how to work with Entry

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="Entry.MainPage">

    <StackLayout BackgroundColor="LightGreen">
        <Entry Text="ID:01"
               TextColor="Blue"
               FontSize="30"
               HorizontalTextAlignment="Center"
               Margin="10"
               IsReadOnly="True"
               />
        <Entry Placeholder="User Name"
               PlaceholderColor="Red"
               FontSize="20"
               FontAttributes="Bold"
               Margin="10"
               BackgroundColor="White"
               
               />
        <Entry Placeholder="Age"
               Margin="10"
               FontSize="20"
               Keyboard="Numeric"/>
        <Entry Placeholder="Country Code"
               TextTransform="Uppercase"/>
        <Entry Placeholder="Tel"
               Keyboard="Telephone"
               CharacterSpacing="1.5"/>
        <Entry Placeholder="Email"
               Keyboard="Email"
               />
        <Entry Placeholder="Password"
               IsPassword="True"
               MaxLength="8"
               />
        <Entry Placeholder="Notes"
               IsSpellCheckEnabled="True"
               IsTextPredictionEnabled="True"
               />

    </StackLayout>

</ContentPage>
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;

namespace Entry
{
    public partial class MainPage : ContentPage
    {
        public MainPage()
        {
            InitializeComponent();
        }
    }
}

GitHub : https://github.com/nady2999/Xamarin-Forms-Entry

Pin It on Pinterest

Share This