2011-03-26 10 views
5

मैं http://silverlight.net/learn/videos/silverlight-videos/twitter-search-monitor/#videoMSDN नमूना काम नहीं कर कोड: BusyIndicator नहीं मिला

विजुअल स्टूडियो 2010 के स्रोत कोड डाउनलोड किया यह SL4 में बदला। इसे चलाने की शिकायत जब

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

नाम स्थान 'System.Windows.Controls' (आप याद कर रहे हैं एक विधानसभा संदर्भ?) C: \ tutorials_dotnet \ Silverlight \ एचडीआई-सिल्वरलाइट स्रोत-TwitterSearchApp_CS \ TwitterSearchMonitor \ obj \ डीबग \ दृश्य \ Search.g.cs 38 42 TwitterSearchMonitor

उत्तर

9

BusyIndicatorToolkit जो आप डाउनलोड और इंस्टॉल की जरूरत है सिल्वरलाइट एसडीके में नहीं मिला है, इसकी।

एक बार स्थापित होने पर System.Windows.Controls.Toolkit डीएलएल का संदर्भ जोड़ें।

BusyIndicator का उपयोग कर पृष्ठ को यह नाम स्थान अन्य नाम जोड़ें: -

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

फिर आप टूलकिट का उपयोग करें: उर्फ ​​इसे परिभाषित करने की: -

<toolkit:BusyIndicator x:Name="busyIndicator> 
    <!-- your page content --> 
</toolkit:BusyIndicator> 
संबंधित मुद्दे