Skip to content

No support for implict styles #55

Closed

Description

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) ---> ……….

Activity

  1. paulovila commented on Jun 26, 2018

    @paulovila

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

  2. added
    kind/bug
    on Jun 26, 2018
  3. jeromelaban commented on Jun 26, 2018

    @jeromelaban
    Member

    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.

  4. paulovila commented on Jun 26, 2018

    @paulovila

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

  5. carldebilly commented on Jan 3, 2020

    @carldebilly
    Member

    This PR is required for the feature...
    #1766

  6. added
    project/styling 👔
    on May 27, 2020
  7. added a commit that references this issue on Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugproject/styling 👔

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions