Material.Avalonia not working #404
-
Hello , |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hello. Also, make sure what you are using latest version of this library. You can run demo app (locally or using wasm version in browser) and see all code required for any control in demo by clicking code button in left bottom corner of every control. |
Beta Was this translation helpful? Give feedback.
Hello.
Assists located in the
Material.Styles.Assists
namespace, so its should be correct.Outline class should be lowercase like
Classes="outline"
, but its deprecated, so prefer usingTheme="{StaticResource OutlineTextBox}"
.Also, this imports required only for compiler to understand correct location of classes in code. Themes must be imported separately in App.axaml, make sure what add
MaterialTheme
into App.axaml.Also, make sure what you are using latest version of this library.
You can run demo app (locally or using wasm version in browser) and see all code required for any control in demo by clicking code button in left bottom corner of every control.