wpf – 无法从程序集PresentationFramework加载类型’System.Win
发布时间:2020-12-14 05:34:47 所属栏目:Windows 来源:网络整理
导读:我正在尝试使用 WPFToolkit中的Grid,但是我收到了错误: DisplayDataMapping.xaml (9,89): errorMC1000: Unknown build error,'Could not load type 'System.Windows.Controls.Primitives.MultiSelector' from assembly 'PresentationFramework,Version=3.0.
我正在尝试使用
WPFToolkit中的Grid,但是我收到了错误:
DisplayDataMapping.xaml (9,89): errorMC1000: Unknown build error,'Could not load type 'System.Windows.Controls.Primitives.MultiSelector' from assembly 'PresentationFramework,Version=3.0.0.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35'. Line 9 Position 89.' 这是xaml: <UserControl x:Class="DisplayDataMapping" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:toolkit="http://schemas.microsoft.com/wpf/2008/toolkit"> <StackPanel Margin="10"> <Border CornerRadius="5" BorderThickness="1" Padding="5" BorderBrush="WhiteSmoke"> <toolkit:DataGrid x:Name="dataGridPostings" Background="Transparent" AlternatingRowBackground="LightSteelBlue" RowBackground="White" GridLinesVisibility="None" HorizontalGridLinesBrush="SlateGray"> </toolkit:DataGrid> </Border> </StackPanel> </UserControl> 解决方法
WPF工具包依赖于.NET Framework 3.5 SP1(以防您不知道).
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
推荐文章
站长推荐
- windows – 如何批量杀死任务?
- windows-installer – MSI – 卸载提供“Unident
- 无法从Windows Mono C#Project访问Linux gcc编译
- windows-7 – 在组策略控制下查看Windows 7有效的
- Windows等效于Unix上的文件.netrc?
- 需要在Windows / Python中快速创建大量新进程
- Windows批处理文件 – 拆分字符串以设置变量
- 如何将Windows 7中的“身份验证缓存”清除为受密
- .net – 如何在Windows Phone 8.1中添加AppBar
- windows – 私有字节的win32 API函数是什么?
热点阅读