Using Uno.Themes.WinUI.Markup
The Uno.Themes.WinUI.Markup package is designed to make it easier to use the Uno.
C#
new Button()
.Style(Theme.Button.Resources.Styles.Elevated)
Using the API in the Uno.Themes has the added benefit of making built in styles more easily discoverable, easier to use, and apparent when they are being used correctly or incorrectly.