我正在与用户控件的开始WPF项目定义为:类型工具包:BusyIndicator控件未找到
<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引用,并且该引用似乎是有效的(没有红色下划线)。
不过,我得到这个错误,不知道为什么:
类型“工具箱:BusyIndicator控件”没有被发现。验证您是否缺少程序集引用,并且所有引用的程序集都已构建。
任何想法?
你可以发布你的XAML的标题 - 只是'UserControl'定义。 – ChrisF
对不起!忘记使用StackOverflow代码块时,我把我的评论。我删除了类名和一些转换器定义,但不应该有关。谢谢! – NickHeidke
您是否在项目中添加了参考以及代码? – ChrisF