wpf - 类型工具箱:BusyIndicator was not found

标签 wpf visual-studio-2010 xaml wpftoolkit busyindicator

我正在一个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:BusyIndi​​cator”。验证您没有丢失程序集引用,并且所有引用的程序集均已构建。

有任何想法吗?

最佳答案

导航到包含DLL的文件夹。右键单击DLL,然后选择属性。在底部附近的常规标签下,点击“取消阻止”按钮。你应该很好。

关于wpf - 类型工具箱:BusyIndicator was not found,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6387163/

相关文章:

wpf - 如何在wpf中的组标题中显示属性名称

.net - 样式化嵌套 ListBox 的 ListBoxItem [WPF]

c# - 在 Windows 中全局检测双击

c++ - 删除文本文件中两个特定字符之间的内容

c# - WPF 模型使用 helix viewer 3d c# 显示为黑色

c# - 什么是数据表或自定义对象,效率更高?

c# - DataGridTemplateColumn Visibility Hidden 为什么不为列分配空间?

c# - 我们能否将 Microsoft Access 引擎捆绑并引用为二进制文件的一部分以进行部署?

windows - NavigationView中的UWP ListView,仅呈现第一个子级

xaml - 毛伊岛。 ScrollView 到结束