Buttons
There are five types of common buttons: elevated, filled, filled tonal, outlined, and text.
You can visit the Material Design Buttons Guideline for more information.
Usage
Regular MAUI buttons can be converted to Material buttons by setting the StyleClass
property to one of the following values:
ElevatedButton
FilledButton
FilledTonalButton
OutlinedButton
TextButton
List of all available style classes:
Light | Dark |
---|---|
![]() |
![]() |
All the buttons are implemented by following Material Design Button Guidelines. So each state works well like Hover on Windows.
Customization
You can always customize buttons in Resources/Styles.xaml
file by writing a style that targets to buttons.
States
Uranium UI Material supports the following states for buttons:
Normal
Disabled
Hover
Focused
Pressed
You can write state specific setter in your custom style.