本文介绍了无法创建类型的实例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了一个UserControl Popup窗口,并将该xaml文件称为另一个文件.导入了名称空间.

当我尝试构建此项目时,在以下给定代码处出现错误:

I have created a UserControl Popup window and called that xaml file into another file. Imported the namespace.

When I am trying to build this project an error at this below given code:

<Popup x:Name="POP" IsOpen="False" PlacementTarget="{Binding}" Placement="Center" AllowsTransparency="True">
      <a:PopUpWindow x:Name="pp" />
</Popup>



" <a:PopUpWindow x:Name="pp" /> " : Could not create an instance of type ''PopUpWindow''.



Error at " <a:PopUpWindow x:Name="pp" /> " : Could not create an instance of type ''PopUpWindow''.

推荐答案


这篇关于无法创建类型的实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-21 05:30