我知道這已經過很多次討論,但我已經瀏覽了互聯網上的所有帖子,沒有任何幫助解決我的問題。AllowDrop * DragDropTarget在最新的Silverlight工具包中不可用4
我正在使用PanelDragDropTarget,但無法在我的xaml中使用AllowDrop
屬性時生成它。我當然註冊的兩個命名空間,但仍然得到以下錯誤:
The property 'AllowDrop' does not exist on the type 'PanelDragDropTarget' in the XML namespace 'clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit'. C:\MainPage.xaml
或
The property 'AllowDrop' does not exist on the type 'PanelDragDropTarget' in the XML namespace 'clr-namespace:Microsoft.Windows;assembly=System.Windows.Controls.Toolkit'. c:\MainPage.xaml
引用的工具包庫的4.0.5.0版本,我也引用Toolkit.Internals。我正在使用VS 2008.