Binding début
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
93aec4f370
commit
3cb6d50b7e
@ -1,9 +1,14 @@
|
|||||||
|
using System.Diagnostics;
|
||||||
|
using Model;
|
||||||
|
|
||||||
namespace Views;
|
namespace Views;
|
||||||
|
|
||||||
public partial class Especes : ContentPage
|
public partial class Especes : ContentPage
|
||||||
{
|
{
|
||||||
public Especes()
|
public Especetheque Especetheque { get; private set; } = new Especetheque();
|
||||||
|
public Especes()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
BindingContext = Especetheque;
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,34 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||||
x:Class="Views.MainPage">
|
x:Class="Views.MainPage">
|
||||||
|
<Label Text="Bienvenue !"/>
|
||||||
<ScrollView>
|
|
||||||
<VerticalStackLayout
|
|
||||||
Spacing="25"
|
|
||||||
Padding="30,0"
|
|
||||||
VerticalOptions="Center">
|
|
||||||
|
|
||||||
<Image
|
|
||||||
Source="dotnet_bot.png"
|
|
||||||
SemanticProperties.Description="Cute dot net bot waving hi to you!"
|
|
||||||
HeightRequest="200"
|
|
||||||
HorizontalOptions="Center" />
|
|
||||||
|
|
||||||
<Label
|
|
||||||
Text="Wikipet's"
|
|
||||||
SemanticProperties.HeadingLevel="Level1"
|
|
||||||
FontSize="32"
|
|
||||||
HorizontalOptions="Center" />
|
|
||||||
|
|
||||||
<Label
|
|
||||||
Text="Bienvenue dans le monde des animaux domestiques"
|
|
||||||
SemanticProperties.HeadingLevel="Level2"
|
|
||||||
SemanticProperties.Description="Welcome to dot net Multi platform App U I"
|
|
||||||
FontSize="18"
|
|
||||||
HorizontalOptions="Center" />
|
|
||||||
|
|
||||||
</VerticalStackLayout>
|
|
||||||
</ScrollView>
|
|
||||||
|
|
||||||
</ContentPage>
|
</ContentPage>
|
||||||
|
After Width: | Height: | Size: 580 KiB |
After Width: | Height: | Size: 212 KiB |
Loading…
Reference in new issue