Windows Mobile Development (v)--initial XAML

Source: Internet
Author: User

about the specific basic skills to say so much, after the meeting to add a note, the front is said to be some code and principles of things, then said will have interface and code combination, there will be a sense of accomplishment, because can really make things come.
Windows Mobile Development includes the Windows Store and Windows Phone,windows store programs primarily for the Surface,windows phone, which is primarily a WIN8 Metro mobile app, and the development model of these two products is basically similar , and Silverlight is very much like, just Silverlight is running in the browser, if there is a Silverlight based ASP. NET programmer to learn Windows Mobile development is easy to get started.
Developing Windows Mobile Programs, the recommended development environment is the operating system: Windows 8.x,ide:visual Studio 2012 (or later, abbreviated VS2012), database: Sql Lite, XML or JSON files are also used to store a small amount of information.
Installation of VS2012 will prompt users to install blend,blend in mobile development in the status of the development of the site like Dreamweaver (DW), the site development of the front-end engineers using the DW design page, automatically generate background code, blend is a graphical design page, Drag controls to automatically generate front-end UI pages that share a solution with VS2012. As shown in the following:
It can be seen that the design page and Photoshop are very similar, the operation is very convenient, but this is for the front-end UI staff, as a program developer, as far as possible to use this development tool, even if you want to understand the front-end specific effects of the back-end code implementation principle, Deep understanding of code principles to quickly and accurately solve and optimize the problem, so this tool I do not introduce more, a look will be used.
Just now that blend can share a solution with VS, we'll open the solution created by just blend with VS, like:
First explain the XAML code, page equivalent to the form in the WinForm program, in Windows Mobile development is the use of Page,grid is a layout, the grid can put a variety of controls, grid layout is the most commonly used in Windows Mobile development layout method, Of course, the grid can also be placed in a grid, very flexible.
Seeing the code above, the sense that the XAML code is much like the HTML code in Web development, in fact, XAML is also based on XML files, very powerful, Microsoft in the Silverlight, WPF, Windows Store and Windows Phone development in the use of XAML as a front-end page engine, you can see that the XAML has become popular in the Web site, desktop and mobile programs, this is bound to be the future development trend, in addition to XAML also fused with a variety of styles of nested use, do not want to web site development of the style technology independent CSS, However, XAML also encapsulates the style of the program into a file for ease of use, and the idea is the same.
You can also drag and drop XAML controls in VS, common XAML controls such as TextBox, TextBlock, Button, Image, GridView, ListView, Flipview, and so on, which will be described in detail later in this article. Get to know the code for XAML and the XAML-based development model today, and we'll see you next time.

Windows Mobile Development (v)--initial XAML

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.