Skip to content

Material.Avalonia not working #404

Answered by SKProCH
AvihayBarn asked this question in Q&A
Discussion options

You must be logged in to vote

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 using Theme="{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.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@AvihayBarn
Comment options

@SKProCH
Comment options

@SKProCH
Comment options

Answer selected by SKProCH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants