parent
f05a0f997d
commit
0157d26db1
@ -0,0 +1,13 @@
|
|||||||
|
<?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.ImageResultatVue"
|
||||||
|
x:Name="ImageResultat">
|
||||||
|
|
||||||
|
<VerticalStackLayout>
|
||||||
|
<Label
|
||||||
|
Text="Welcome to .NET MAUI!"
|
||||||
|
VerticalOptions="Center"
|
||||||
|
HorizontalOptions="Center" />
|
||||||
|
</VerticalStackLayout>
|
||||||
|
</ContentView>
|
@ -0,0 +1,18 @@
|
|||||||
|
namespace MauiSpark.Vues;
|
||||||
|
|
||||||
|
public partial class ImageResultatVue : ContentView
|
||||||
|
{
|
||||||
|
public static readonly BindableProperty TexteProperty = BindableProperty.Create(nameof(Texte), typeof(string), typeof(TitreVue), default(string));
|
||||||
|
|
||||||
|
public string Image
|
||||||
|
{
|
||||||
|
get => (string)GetValue(TexteProperty);
|
||||||
|
set => SetValue(TexteProperty, value.ToUpper());
|
||||||
|
}
|
||||||
|
|
||||||
|
public ImageResultatVue()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
BindingContext = this;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in new issue