Learning about some languages in XAML in WP8.1 development (1);

Source: Internet
Author: User

In the past when learning WP development, see the video said the program at the beginning of the creation, the Mainpaige.xaml page has some code:

<Pagex:class= "Draft. MainPage "xmlns= "Http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x= "Http://schemas.microsoft.com/winfx/2006/xaml"xmlns:local= "using: draft"xmlns:d= "http://schemas.microsoft.com/expression/blend/2008"XMLNS:MC= "http://schemas.openxmlformats.org/markup-compatibility/2006"mc:ignorable= "D"Background="{ThemeResource Applicationpagebackgroundthemebrush}">

At the beginning of the study, did not care about this aspect of content, and did not understand the content, and later in the re-watch video, part of the content has been understood, now record their own study:

1. Here are some simple examples (C # code):

  class  Person {...}  class  Student:person {...}    Student stu=new Student ();

2. Converting the above code into XAML code is:

< person     x:class = "namespace. Student "   x:key=" Stu "   ... />

Of course, there are <page .../> there are other content, there are still many do not understand, still have to continue to learn, now record so much;

Learning about some languages in XAML in WP8.1 development (1);

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.