Windows Ten UWP Dev: How to get the interface stuck

Source: Internet
Author: User

Http://edi.wang/post/2016/2/18/windows-10-uwp-async-await-ui-thread

About the UI thread

Here we need a little bit about the concept of the UI threading model, which simply means that the UI thread is running in an infinite loop, and maintaining a message queue, each time the loop starts with the first message of the queue, such as the mouse's press message, and then gives the message to the outermost UI element. It then passes through a series of routed events to each of the UI elements associated with the message, then the so-called Mousebuttondown event, which then fits the Mousebuttonup event, can be combined into a Button's Click event, and then the UI thread enters the next message Again to get the new input information.

http://blog.higan.me/dot-net-thread-dispatch-model-dispatcher/

Windows Ten UWP Dev: How to get the interface stuck

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.