Stable transformation of SL review notes-basics (I)

Source: Internet
Author: User

First, the "xap" file.
1. The xap file is a Silverlight application.Program. It includes the resources required by appmanifiest. XAML, The Silverlight project set (. dll) compiled and output, and the Silverlight application. You can decompress the package through WinRAR to view the resources in the package. Of course, you need to change the extension.
You can use the <asp: Silverlight> label to load the ". xap" file on the "aspx" page. You can also use the "<Object>" tag to load the. xap file in HTML.
2. It is usually located in the "bin \ debug" folder of the project.
3. SL components must be loaded on Web pages.
4. You can directly install and deploy the SDK in WP development. (For details about how to use SL for Windows Phone alone, stay tuned. If you have time, you will write your own Windows Phone software (wpbox mobile phone safe-winning works) and share it with you .)

Second, the "XAML" file.
1. App. XAML file.
Declares "shared resources", such as brushes and various style resources. Its RearCodeThe "app. XAML" file is used to process global application events. For example, startup, exit, and unhandledexception.
It is similar to Asp.net's "Global. asax ".
2. "Page. XAML" file.
This is the default "XAML" file and a virtual start page. It does not contain any UI elements. "usercontrol" is the highest level of control, and "Grid" is "layout panel". All UI elements must be placed in it.
3. You can change the default ". XAML" page by setting "application. rootvisual. In "application_startup" in "app. XAML. cs.

Sort out the basic knowledge after completing the SL project...
Because there are still some projects in hand, please write them slowly.

The latest resource inventory, transmission array

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.