<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:common="clr-namespace:XamarinStudy.Commons;assembly=XamarinStudy"
             x:Class="XamarinStudy.Views.ToyDetailPage">
    <ContentPage.Resources>
        <ResourceDictionary>
            <common:ValueConverter x:Key="cvt"/>
        </ResourceDictionary>
    </ContentPage.Resources>
    <ContentPage.Content>
        <StackLayout>
            <Image Source="{Binding Image, Converter={StaticResource cvt}}" HeightRequest="250"/>
            <Label Text="{Binding Name}" FontSize="Large" VerticalTextAlignment="Center" HorizontalTextAlignment="Center" HorizontalOptions="FillAndExpand"/>
            <Label Text="{Binding Price}" FontSize="Medium" VerticalTextAlignment="Center" HorizontalTextAlignment="Center" HorizontalOptions="FillAndExpand"/>
        </StackLayout>
    </ContentPage.Content>
</ContentPage>