-
Hello, I am quite new in Avalonia so I might be missing something about theming and styling. I don't seem to figure out, how to set for example StackPanel background to Material colors like PrimaryDark in the axaml file. Is it possible to do so? Could anyone please help me? Using Avalonia 11 and Material.Avalonia 3.0.0-avalonia11-preview5.208-nightly |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello, I suppose you need to set |
Beta Was this translation helpful? Give feedback.
Hello, I suppose you need to set
Background="{DynamicResource PrimaryHueDarkBrush}"
to your stack panel. Brush names located here: https://github.com/AvaloniaCommunity/Material.Avalonia/wiki/Brush-Names