象WinForm编程一样,Silverlight中的UI对象,只能通过UI线程来更新。不同的是Silverlight提供了一个Dispatcher对象,可以方便的将background线程对UI对象的操作marshal到UI线程上。而且,可以使用任意UI对象上的Dispatcher来更新任意UI对象:
because Silverlight has a single UI thread, it has a single Dispatcher object that holds a queue of work items for the UI. Using the Dispatcher will allow you to update the UI from a non-UI thread.
from - http://msdn.microsoft.com/en-us/magazine/cc721609.aspx
You don't have to use the Dispatcher property of the object you intend to update; you can use Dispatcher on any UI object to marshal the call to the UI thread.
以上链接中有代码示例。