MSDN sample code does not work: BusyIndicator not found

I downloaded the source code http://silverlight.net/learn/videos/silverlight-videos/twitter-search-monitor/#video

Visual Studio 2010 converted it to SL4. At startup, he complains

Error 3   The type or namespace name 'BusyIndicator' does not exist in the

namespace 'System.Windows.Controls' (do you miss the assembly link?) C: \ tutorials_dotnet \ silverlight \ HDI-Silverlight-source-TwitterSearchApp_CS \ TwitterSearchMonitor \ obj \ Debug \ Views \ Search.g.cs 38 42 TwitterSearchMonitor

+5
source share
1 answer

BusyIndicatornot found in the Silverlight SDK, its in the Toolkit , which you need to download and install.

After installation, add a link to the dll System.Windows.Controls.Toolkit.

BusyIndicator: -

xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"

toolkit: alias : -

<toolkit:BusyIndicator x:Name="busyIndicator>
    <!-- your page content -->
</toolkit:BusyIndicator>
+9

All Articles