<?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="XamFormsBindingModes.MainPage">
  <StackLayout HorizontalOptions="FillAndExpand">
    <StackLayout.Padding>
      <OnPlatform x:TypeArguments="Thickness">
        <OnPlatform.iOS>
          0, 20, 0, 0
        </OnPlatform.iOS>
        <OnPlatform.Android>
          0, 0, 0, 0
        </OnPlatform.Android>
        <OnPlatform.WinPhone>
          0, 0, 0, 0
        </OnPlatform.WinPhone>
      </OnPlatform>
    </StackLayout.Padding>
    <Entry Text="{Binding FirstName, Mode=TwoWay}" Placeholder="Imię" />
    <Entry Text="{Binding LastName, Mode=TwoWay}" Placeholder="Nazwisko" />
    <Label Text="{Binding FullName}" HorizontalOptions="Center" />
  </StackLayout>
</ContentPage>