Mise à jour de 'XMLFile1.xml'
continuous-integration/drone/push Build is passing Details

master
Leon ENAULT 2 years ago
parent 268e520174
commit e603a30924

@ -1,35 +1,38 @@
<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" <?xml version="1.0" encoding="utf-8" ?>
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" <ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
x:Class="MonApplication.MainPage"> xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="MauiApp1.NewContent1">
<VerticalStackLayout>
<Label
Text="Welcome to .NET MAUI!"
VerticalOptions="Center"
HorizontalOptions="Center" />
<Grid Background="LightBlue"> <Grid Background="LightBlue">
<Grid.RowDefinitions> <Grid.RowDefinitions>
<RowDefinition Height="Auto"/> <!-- Ligne pour le titre --> <RowDefinition Height="Auto"/>
<RowDefinition Height="*"/> <!-- Ligne pour le contenu défilable --> <!-- Ligne pour le titre -->
<RowDefinition Height="*"/>
<!-- Ligne pour le contenu défilable -->
</Grid.RowDefinitions> </Grid.RowDefinitions>
<!-- Titre --> <!-- Titre -->
<TextBlock Text="Ma Page" FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center"/> <Label Text="Ma Page" FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center"/>
<!-- Contenu défilable --> <!-- Contenu défilable -->
<ScrollViewer Grid.Row="1"> <ScrollView Grid.Row="1">
<StackPanel Orientation="Horizontal"> <StackLayout Orientation="Horizontal">
<StackPanel> <StackLayout>
<Button Click="Button_Click"> <ImageButton Source="image1.jpg" WidthRequest="100" HeightRequest="100" Clicked="ImageButton_Clicked"/>
<Image Source="image1.jpg" Width="100" Height="100"/> <ImageButton Source="image2.jpg" WidthRequest="100" HeightRequest="100" Clicked="ImageButton_Clicked"/>
</Button> <ImageButton Source="image3.jpg" WidthRequest="100" HeightRequest="100" Clicked="ImageButton_Clicked"/>
<Button Click="Button_Click"> </StackLayout>
<Image Source="image2.jpg" Width="100" Height="100"/> <StackLayout>
</Button> <Label Text="Description de l'image 1" FontSize="16"/>
<Button Click="Button_Click"> <Label Text="Description de l'image 2" FontSize="16"/>
<Image Source="image3.jpg" Width="100" Height="100"/> <Label Text="Description de l'image 3" FontSize="16"/>
</Button> </StackLayout>
</StackPanel> </StackLayout>
<StackPanel> </ScrollView>
<TextBlock Text="Description de l'image 1" FontSize="16"/>
<TextBlock Text="Description de l'image 2" FontSize="16"/>
<TextBlock Text="Description de l'image 3" FontSize="16"/>
</StackPanel>
</StackPanel>
</ScrollViewer>
</Grid> </Grid>
</Page> </VerticalStackLayout>
</ContentView>
Loading…
Cancel
Save