Text element - .NET MAUI
In MAUI, text elements can be created using Label
, and the content can be changed by setting the Text
property.
Usage (C#)
var label = new Label
{
Text = "Descriptive label"
};
Usage (XAML)
<Label Text="Descriptive label" />