You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastermind/Sources/MauiSpark/Vues/ReglesVue.xaml.cs

45 lines
1.3 KiB

namespace MauiSpark.Vues;
/// <summary>
/// Vue pour afficher le titre et la description des règles.
/// </summary>
public partial class ReglesVue : ContentView
{
/// <summary>
/// Identifie la propriété de dépendance pour le Nom des règles.
/// </summary>
public static readonly BindableProperty NomProperty = BindableProperty.Create(nameof(Nom), typeof(string), typeof(ReglesVue), default(string));
/// <summary>
/// Identifie la propriété de dépendance pour la description des règles.
/// </summary>
public static readonly BindableProperty DescriptionProperty = BindableProperty.Create(nameof(Description), typeof(string), typeof(ReglesVue), default(string));
/// <summary>
/// Obtient ou définit le titre des règles.
/// </summary>
public string Nom
{
get => (string)GetValue(NomProperty);
set => SetValue(NomProperty, value);
}
/// <summary>
/// Obtient ou définit la description des règles.
/// </summary>
public string Description
{
get => (string)GetValue(DescriptionProperty);
set => SetValue(DescriptionProperty, value);
}
/// <summary>
/// Initialise une nouvelle instance de la classe <see cref="ReglesVue"/>.
/// </summary>
public ReglesVue()
{
InitializeComponent();
BindingContext = this;
}
}