Button
This page describes how to create buttons in MauiReactor
Button("Button")
.OnClicked(...)Visual states
Button("Button")
.VisualState(nameof(CommonStates), CommonStates.Normal)
.VisualState(nameof(CommonStates), "Pressed", MauiControls.VisualElement.BackgroundColorProperty, Colors.Aqua)
ButtonStyles.Default = _ => _
.VisualState(nameof(CommonStates), CommonStates.Normal)
.VisualState(nameof(CommonStates), "Pressed", MauiControls.VisualElement.BackgroundColorProperty, Colors.Aqua);Last updated