<?xml version="1.0" encoding="utf-8" ?>
<ContentPage x:Class="MauiAppStock.Views.SelectAppareilForAssociationPage"
             xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
    <StackLayout Padding="10">
        
        <Label Text="Sélectionnez un Appareil" FontSize="24" HorizontalOptions="Center" />
        <ListView x:Name="AppareilsListView" ItemTapped="OnAppareilTapped">
            <ListView.ItemTemplate>
                <DataTemplate>
                    <TextCell Text="{Binding Nom}" Detail="{Binding Description}" />
                </DataTemplate>
            </ListView.ItemTemplate>
        </ListView>
    </StackLayout>
</ContentPage>