WPF multi-touch Development: Efficient development model

Source: Internet
Author: User
Tags touch

In the previous articles, we have introduced various modes of touch-screen operation, and have a better understanding of its development methods. A careful friend should find that in the last article, if you drag a picture too fast it will fly out of the program window because of inertia effect, that is to say, it also needs to carry on the boundary restriction and so on related development. And regardless of which kind of touch screen operation requires the developer to write the code step by step, this article will introduce an efficient multi-point touch screen development model.

In fact, we just need to take advantage of the multi-touch manipulation project in CodePlex, which not only supports WPF, but also projects development for Silverlight and Windows Phone 7. Download and install the program, open blend 4 new project, draw a rectangle in the design window.

The Fluidmovebehavior and Translatezoomrotatebehavior two options can be found in the Behaviors menu and dragged into the rectangle to make the rectangle touch-screen operational.

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.