c# WPF AlternateContent doesn't exist in the Namespace […]

后端 未结 1 388
情书的邮戳
情书的邮戳 2021-01-20 13:49

I am facing the need to have XAML Code only in design-time. I have found a nice Solution to this, which can be found here. It seems like there are a few guys having a Proble

相关标签:
1条回答
  • 2021-01-20 14:28

    It seems like this is a common VS problem which can be solved by this code

    mc:Ignorable="d mc"
    

    This must be added to the root element of the view.
    Note: that you already should have mc:Ignorable="d" in your root element, so you have to just add the mc to it.

    0 讨论(0)
提交回复
热议问题