Replies: 1 comment
-
We currently have this mapped for those that are using the Material Theme you can read a little more on it in the docs. new Button()
.Style(Theme.Button.Resources.Styles.Elevated) Note that this also works with other values in the theme such as colors & brushes |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was trying/learning C# Markup language and I realized that now, when you create for example a new Brush, you get no Intellisense of the current static o themed resources.
That makes it more difficult to use than the usual XAML code.
Maybe it would be possible, perhaps using a source generator, to create some static Enum with the name of all existing resources in the app. Something like:
It would be great to have different Enums depending on the type of resource. (Brush, Color, BitmapImage, ...)
Beta Was this translation helpful? Give feedback.
All reactions