我添加到参考
WPFToolkit.dll,我添加了我的.xaml文件以下行:
xmlns:toolkit="clr-namespace:Microsoft.Windows.Controls;assembly=WpfToolkit"
之前的行:
xmlns:toolkit="http://schemas.microsoft.com/wpf/2008/toolkit"
在这两种情况下都行
<toolkit:NumericUpDown Value="10" Increment="1" Maximum="10" Minimum="0" />
我有错误:
Error 1 The tag ‘NumericUpDown’ does not exist in XML namespace ‘http://schemas.microsoft.com/wpf/2008/toolkit’. Line 20 Position 18. C:\Users\Diament\Documents\Visual Studio 2008\Projects\MyBasicFlyffKeystroke\MyBasicFlyffKeystroke\Window.xaml 20 18 MyBasicFlyffKeystroke
哪里有问题?