我正在尝试使用 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 边距="10">
<Border CornerRadius="5" BorderThickness="1" Padding="5" BorderBrush="WhiteSmoke">
<toolkit:DataGrid x:Name="dataGridPostings" 背景="透明"
AlternatingRowBackground="LightSteelBlue" RowBackground="白色"
GridLinesVisibility="无" HorizontalGridLinesBrush="SlateGray">
</toolkit:DataGrid>
</边框>
</堆栈面板>
</用户控制>