namespace MauiSpark.Vues; public partial class ReglesVue : ContentView { public static readonly BindableProperty TitreProperty = BindableProperty.Create(nameof(Titre), typeof(string), typeof(ReglesVue), default(string)); public static readonly BindableProperty DescriptionProperty = BindableProperty.Create(nameof(Description), typeof(string), typeof(ReglesVue), default(string)); public string Titre { get => (string)GetValue(TitreProperty); set => SetValue(TitreProperty, value); } public string Description { get => (string)GetValue(DescriptionProperty); set => SetValue(DescriptionProperty, value); } public ReglesVue() { InitializeComponent(); BindingContext = this; } }