Uno: No support for implict styles

Created on 20 Jun 2018  Â·  4Comments  Â·  Source: unoplatform/uno

error:
Error Generation failed for Uno.UI.SourceGenerators.XamlGenerator.XamlCodeGenerator. System.AggregateException: One or more errors occurred. ---> System.InvalidOperationException: An error occured when processing ContentDialog at line 1:2 (.xaml) : An error occured when processing Grid at line 30:6 (.xaml) : An error occured when processing ScrollViewer at line 31:10 (.xaml) : An error occured when processing Grid at line 32:14 (.xaml) : Implicit styles in inline resources are not supported (Grid, Line 32:14) ---> ……….

kinbug projecstyling triagmost-wanted

All 4 comments

Hi , I'm experiencing the same error generation. Implicit styles are quintessential part xaml . Is there any plan to implement it?

Implicit styles outside of a ResourceDictionary are not yet supported.

As a workaround, you can name your style and use it where appropriate, of set it as implicit globally.

Thanks Jérôme, keep up the good work , you guys are doing a great job.

This PR is required for the feature...
https://github.com/unoplatform/uno/pull/1766

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jeromelaban picture jeromelaban  Â·  3Comments

MartinZikmund picture MartinZikmund  Â·  3Comments

MartinZikmund picture MartinZikmund  Â·  3Comments

MartinZikmund picture MartinZikmund  Â·  3Comments

SuperJMN picture SuperJMN  Â·  3Comments