From 6c6dad65caf3652f660a849d9aec2ecf8638e51d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20LAVERGNE?= Date: Tue, 4 Jun 2024 13:17:21 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20de=20la=20date=20de=20cr=C3=A9ation=20e?= =?UTF-8?q?t=20modification=20de=20la=20disposition?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/Trek-12/Trek-12/Views/Components/viewsProfils.xaml | 8 +++++--- .../Trek-12/Trek-12/Views/Components/viewsProfils.xaml.cs | 7 ++++++- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/source/Trek-12/Trek-12/Views/Components/viewsProfils.xaml b/source/Trek-12/Trek-12/Views/Components/viewsProfils.xaml index 474f88c..5b0e403 100644 --- a/source/Trek-12/Trek-12/Views/Components/viewsProfils.xaml +++ b/source/Trek-12/Trek-12/Views/Components/viewsProfils.xaml @@ -3,10 +3,11 @@ xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="Trek_12.Views.Components.viewsProfils" x:Name="this"> + - + - diff --git a/source/Trek-12/Trek-12/Views/Components/viewsProfils.xaml.cs b/source/Trek-12/Trek-12/Views/Components/viewsProfils.xaml.cs index 19239e0..19fc910 100644 --- a/source/Trek-12/Trek-12/Views/Components/viewsProfils.xaml.cs +++ b/source/Trek-12/Trek-12/Views/Components/viewsProfils.xaml.cs @@ -13,7 +13,7 @@ public partial class viewsProfils : ContentView } public static readonly BindableProperty PseudoProperty = - BindableProperty.Create("Pseudo", typeof(string), typeof(ContentLeaderBoard), "Profile n°*"); + BindableProperty.Create("Pseudo", typeof(string), typeof(ContentLeaderBoard), "Profile n°*"); public string Pseudo { @@ -30,4 +30,9 @@ public partial class viewsProfils : ContentView get => converter.RetrieveImage((string)GetValue(ProfilePictureProperty)); set => SetValue(ProfilePictureProperty, value); } + + public static readonly BindableProperty CreationDateProperty = + BindableProperty.Create("CreationDate", typeof(string), typeof(viewsProfils), string.Empty); + + public string CreationDate => (string)GetValue(CreationDateProperty); } \ No newline at end of file