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.
30 lines
819 B
30 lines
819 B
namespace MauiSpark.Vues;
|
|
|
|
/// <summary>
|
|
/// Vue pour afficher un titre.
|
|
/// </summary>
|
|
public partial class TitreVue : ContentView
|
|
{
|
|
/// <summary>
|
|
/// Identifie la propriété de dépendance pour le texte du titre.
|
|
/// </summary>
|
|
public static readonly BindableProperty TexteProperty = BindableProperty.Create(nameof(Texte), typeof(string), typeof(TitreVue), default(string));
|
|
|
|
/// <summary>
|
|
/// Obtient ou définit le texte du titre.
|
|
/// </summary>
|
|
public string Texte
|
|
{
|
|
get => (string)GetValue(TexteProperty);
|
|
set => SetValue(TexteProperty, value);
|
|
}
|
|
|
|
/// <summary>
|
|
/// Initialise une nouvelle instance de la classe <see cref="TitreVue"/>.
|
|
/// </summary>
|
|
public TitreVue()
|
|
{
|
|
InitializeComponent();
|
|
BindingContext = this;
|
|
}
|
|
} |