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"/>

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.