很简单的一个xaml,里面包含了来自扩展工具包的PropertyGrid控件元素,
<UserControl
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/up-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
mc:Ignorable="d"
d:DesignHeight="405" d:DesignWidth="573" xmlns:extToolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit/extended">
<StackPanel>
<Button>Save</Button>
<extToolkit:PropertyGrid Height="382" />
</StackPanel>
</UserControl>
但是在通过XamlReader.Load加载这个文件流的时候报不能加载无法识别的类型PropertyGrid
不知道如何处理,麻烦各位相助!
<UserControl
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/up-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
mc:Ignorable="d"
d:DesignHeight="405" d:DesignWidth="573" xmlns:extToolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit/extended">
<StackPanel>
<Button>Save</Button>
<extToolkit:PropertyGrid Height="382" />
</StackPanel>
</UserControl>
但是在通过XamlReader.Load加载这个文件流的时候报不能加载无法识别的类型PropertyGrid
不知道如何处理,麻烦各位相助!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货