我正在一个WPF项目中,其UserControl的开头定义为:
<UserControl x:Class=""
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:converters="clr-namespace:.Modules.Converters"
xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit/extended"
mc:Ignorable="d">
在用户控件中,我具有以下功能:
<toolkit:BusyIndicator IsBusy="{Binding IsBusy}" BusyContent="Please wait...">
我在项目中引用了WPFToolkit.Extended,该引用似乎有效(没有红色下划线)。
但是,我收到此错误,不知道为什么:
找不到类型“toolkit:BusyIndicator”。验证您没有丢失程序集引用,并且所有引用的程序集均已构建。
有任何想法吗?
最佳答案
导航到包含DLL的文件夹。右键单击DLL,然后选择属性。在底部附近的常规标签下,点击“取消阻止”按钮。你应该很好。
关于wpf - 类型工具箱:BusyIndicator was not found,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6387163/