Button
This page describes how to create buttons in MauiReactor
Last updated
Was this helpful?
This page describes how to create buttons in MauiReactor
Last updated
Was this helpful?
The .NET Multi-platform App UI (.NET MAUI) displays text and responds to a tap or click that directs the app to carry out a task.
You can create a Button in MauiReactor just like any other widget:
To modify the look of the button when it assumes a specific state, append one or more calls to VisualState() method specifying which state to link and which property and value to set.
For example, the following code changes the background color of a button when it's pressed:
Use to configure the visual states of all the buttons of your application, as shown below: