<?xml version="1.0" encoding="utf-8" ?>
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="MauiSpark.Vues.JetonVue"
             x:Name="jetonVue">

    <Grid 
        x:Name="Grid"
        SizeChanged="QuandTailleChangee"
        VerticalOptions="FillAndExpand"
        HorizontalOptions="FillAndExpand">
        
        <Ellipse
            x:Name="Cercle"
            Fill="{Binding Couleur, Source={x:Reference jetonVue}}">

            <Ellipse.GestureRecognizers>
                <TapGestureRecognizer Tapped="JetonPresse"/>
            </Ellipse.GestureRecognizers>

        </Ellipse>
    </Grid>
    
</ContentView>
