我正在與用戶控件的開始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