<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="ex_CustomContentView.MainPage"
            xmlns:local="clr-namespace:ex_CustomContentView">
    <VerticalStackLayout
        Padding="30,0"
        Spacing="25">
        <Label Text="NOUT" Style="{StaticResource Headline}"/>
        <local:MyAvatarView 
            ImageName="{Binding Artist1.Picture}"
            Title="{Binding Artist1.Name}"
            SubTitle="{Binding Artist1.Instrument}"
            Color="{Binding MainColor}" 
            InfoClicked="OnInfoClicked"
            NextClicked="OnNextClicked"
            Tapped="OnTapped"
            TapCommand="{Binding MyTapCommand}"
            TapCommandParameter="{Binding Source={RelativeSource Self}}"
            InfoCommand="{Binding MyInfoCommand}"
            InfoCommandParameter="{Binding Artist1}"
            NextCommand="{Binding MyNextCommand}"
            NextCommandParameter="D.Joussein"/>
        <local:MyAvatarView 
            ImageName="{Binding Artist2.Picture}"
            Title="{Binding Artist2.Name}"
            SubTitle="{Binding Artist2.Instrument}"
            Color="{Binding MainColor}" 
            InfoClicked="OnInfoClicked"
            NextClicked="OnNextClicked"
            Tapped="OnTapped"
            TapCommand="{Binding MyTapCommand}"
            TapCommandParameter="{Binding Source={RelativeSource Self}}"
            InfoCommand="{Binding MyInfoCommand}"
            InfoCommandParameter="{Binding Artist2}"
            NextCommand="{Binding MyNextCommand}"
            NextCommandParameter="R.Rinaudo"/>
        <local:MyAvatarView 
            ImageName="{Binding Artist3.Picture}"
            Title="{Binding Artist3.Name}"
            SubTitle="{Binding Artist3.Instrument}"
            Color="{Binding MainColor}" 
            InfoClicked="OnInfoClicked"
            NextClicked="OnNextClicked"
            Tapped="OnTapped"
            TapCommand="{Binding MyTapCommand}"
            TapCommandParameter="{Binding Source={RelativeSource Self}}"
            InfoCommand="{Binding MyInfoCommand}"
            InfoCommandParameter="{Binding Artist3}"
            NextCommand="{Binding MyNextCommand}"
            NextCommandParameter="B.Lafuente"/>
        <Image Source="nout_live_album.png" WidthRequest="100"/>
    </VerticalStackLayout>
</ContentPage>
