Windows Phone 7 Tips (2)

Source: Internet
Author: User

1. The simplest operation in Windows Phone 7 isolatedstorge Code: Savenote () Saves the contents of the text box to Note.txt, and Edit () reads Note.txt to the text box

2. Orientation in Windows Phone 7

Divided into portrait (vertical screen) and landscape (straight screen) and portraitorlandscape (vertical screen or horizontal screen, in the switch will automatically switch when the screen). and also divided into support direction and start direction, support direction support portrait, landscape and Portraitorlandscape, launch direction support landscape, Landscapeleft, Landscaperight, Portrait, Portraitdown and Portraitup

3. Comparison of UI layout controls common in Windows Phone 7

Canvas: Absolute position control, fast, can be used for games

Grid: Mesh positioning control, more commonly used

StackPanel: Automatic positioning control, recommended for use with small area

Related Article

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.