How do I set the text to a Button?

Platform: .NET MAUI|Category: Controls

To set the text to a Button, you can use the Text property. For example:
XAML

<Button x:Name="button" Text="Click Me"/>