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.
45 lines
1.3 KiB
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 titre des règles.
|
|
/// </summary>
|
|
public static readonly BindableProperty TitreProperty = BindableProperty.Create(nameof(Titre), 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 Titre
|
|
{
|
|
get => (string)GetValue(TitreProperty);
|
|
set => SetValue(TitreProperty, 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;
|
|
}
|
|
} |