(X) Hide this
    • Login
    • Join
      • Generate New Image
        By clicking 'Register' you accept the terms of use .

Windows Phone Tip: Updating the UI from an Asynchronous Thread

(0 votes)
0 comments   /   posted by Silverlight Show on Jul 15, 2013
Tags:   windows-phone , wei-meng-lee
Read original post by Wei-Meng Lee at Developer Learning Solutions

One of the most common tasks you need to perform in a Windows Phone application is updating the UI from a separate thread. For example, you may be download some content asynchronously using a WebClient class and when the operation is completed, you want to update the UI with the content that was downloaded. Updating the UI directly from an asynchronous thread is not allowed, as UI controls are not thread-safe.


Comments

No comments

Add Comment

Login to comment:
  *      *       

Our News on Twitter