我正在尝试使用 WPFToolkit 中的网格,但出现错误:
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:
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:toolkit="http://schemas.microsoft.com/wpf/2008/toolkit">
GridLinesVisibility="None"HorizontalGridLinesBrush="SlateGray">
工具包:数据网格>
边框>
堆栈面板>
用户控件>
最佳答案
WPF Toolkit 依赖于 .NET Framework 3.5 SP1(以防万一您还不知道)。
关于wpf - 无法从程序集 PresentationFramework 加载类型 'System.Windows.Controls.Primitives.MultiSelector',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/241236/