Skip to content

Designer error #556

Closed
Closed

Description

@NaBian

after f835f25, if you open any xxxdemoctrl.xaml, you will have the following errors:
QQ图片20201206003612

Activity

  1. added
    🙏 help wanted
    on Dec 5, 2020
  2. ghost1372 commented on Dec 5, 2020

    @ghost1372
    Member

    @NaBian
    first read this blog post Which has completely provided various solutions
    https://michaelscodingspot.com/wpf-merged-dictionary-problemsandsolutions/
    Then take a look at this sample
    If I understand correctly, the order of the styles must be observed and DynamicsResource must also be used
    https://github.com/michaelscodingspot/WpfMergingXamlResources

    Just remember to order them correctly if the resources rely on each other.

  3. cuiliang commented on Dec 6, 2020

    @cuiliang
    Contributor

    I have checked the combined xaml file and find no resource order problem.

    Tool used: https://github.com/cuiliang/CombinedXamlChecker

  4. cuiliang commented on Dec 6, 2020

    @cuiliang
    Contributor

    Error List 里有许多警告,不知道是不是和这个问题有关系
    image

  5. NaBian commented on Dec 6, 2020

    @NaBian
    MemberAuthor

    Error List 里有许多警告,不知道是不是和这个问题有关系
    image

    应该没啥影响

  6. NaBian commented on Dec 6, 2020

    @NaBian
    MemberAuthor

    error disappeared after commenting codes related to TranslateTransform in Theme,xaml

  7. GF-Huang commented on Jun 2, 2021

    @GF-Huang
    Member

    Has this issue been deemed resolved? But I still encounter the same problem.

    image

  8. added a commit that references this issue on Mar 28, 2024
    b5eea7c
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

    🙏 help wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions