Binding du stub de plusieurs players via un datatemplate
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
4733ed0a7e
commit
43877415f9
@ -1,36 +0,0 @@
|
||||
namespace Trek_12.Views.Components;
|
||||
|
||||
public partial class ContentLeaderBoard : ContentView
|
||||
{
|
||||
public ContentLeaderBoard()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public static readonly BindableProperty Pseudo =
|
||||
BindableProperty.Create("Pseudo", typeof(string), typeof(ContentLeaderBoard), "");
|
||||
|
||||
public string Pseudo
|
||||
{
|
||||
get => (string)GetValue(Pseudo);
|
||||
set => SetValue(Pseudo, value);
|
||||
}
|
||||
|
||||
public static readonly BindableProperty Pseudo =
|
||||
BindableProperty.Create("Title", typeof(string), typeof(ContentLeaderBoard), "No Title");
|
||||
|
||||
public string Title
|
||||
{
|
||||
get => (string)GetValue(TitleProperty);
|
||||
set => SetValue(TitleProperty, value);
|
||||
}
|
||||
|
||||
public static readonly BindableProperty SubTitleProperty =
|
||||
BindableProperty.Create("SubTitle", typeof(string), typeof(ContentLeaderBoard), "Lorem Ipsum Dolor");
|
||||
|
||||
public string SubTitle
|
||||
{
|
||||
get => (string)GetValue(SubTitleProperty);
|
||||
set => SetValue(SubTitleProperty, value);
|
||||
}
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
namespace Trek_12.Views.Components;
|
||||
|
||||
public partial class viewsProfils : ContentView
|
||||
{
|
||||
public viewsProfils()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
namespace Trek_12.Views;
|
||||
|
||||
public partial class PageProfils : ContentPage
|
||||
{
|
||||
public PageProfils()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
namespace Trek_12.Views.Components;
|
||||
|
||||
public partial class ContentLeaderBoard : ContentView
|
||||
{
|
||||
public ContentLeaderBoard()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
namespace Trek_12.Views.Components;
|
||||
|
||||
public partial class viewsProfils : ContentView
|
||||
{
|
||||
public viewsProfils()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public static readonly BindableProperty PseudoProperty =
|
||||
BindableProperty.Create("Pseudo", typeof(string), typeof(ContentLeaderBoard), "Profile n°*");
|
||||
|
||||
public string Pseudo
|
||||
{
|
||||
get => (string)GetValue(PseudoProperty);
|
||||
set => SetValue(PseudoProperty, value);
|
||||
}
|
||||
|
||||
|
||||
public static readonly BindableProperty ProfilePictureProperty =
|
||||
BindableProperty.Create("ProfilePicture", typeof(string), typeof(ContentLeaderBoard), "profile.jpg");
|
||||
|
||||
public string ProfilePicture
|
||||
{
|
||||
get => (string)GetValue(ProfilePictureProperty);
|
||||
set => SetValue(ProfilePictureProperty, value);
|
||||
}
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
namespace Trek_12.Views;
|
||||
using Stub;
|
||||
|
||||
public partial class PageProfils : ContentPage
|
||||
{
|
||||
public Stub MyStub { get; set; } = new Stub();
|
||||
|
||||
public PageProfils()
|
||||
{
|
||||
InitializeComponent();
|
||||
BindingContext = MyStub;
|
||||
}
|
||||
}
|
Loading…
Reference in new issue