Windows Phone 7 about template -- your last about Dialog

Source: Internet
Author: User

Recently, I want to write something about WP7. This yglad was just discovered recently. Microsoft requires that WP7 applications have an about to describe some application information. The application previously written is the primary function first, and finally a about page. You can easily configure an XML file.

The project is also on codeplex at: http://ylad.codeplex.com/

This item can be used to display information such as information about and update history. The page displays the following results:

The usage is as follows:

1. You can download the DLL on codeplex and add reference on your own. However, this method is not recommended.

2. nuget can be easily installed. Nuget installation address: http://nuget.org/

After nuget is installed, open the yglad address: http://nuget.org/packages/ylad. you can see that the installation is successful as a command:

PM> install-package yglad

You can see that the DLL reference has been automatically added to the project, and a directory content/about has been automatically added, which contains a data. xml file, which is the configuration file. The directory information is as follows:

The content of data. XML is as follows:

<?xml version="1.0" encoding="utf-8" ?><About>  <App />  <Items>        <MainItem>      <Links>                <Link /><Link /><!-- ... -->      </Links>    </MainItem>        <Item /><Item />    <!-- ... -->  </Items></About>

Enter the content as needed.

Use the following statement to display the about:

NavigationService.Navigate(new Uri("/YourLastAboutDialog;component/AboutPage.xaml", UriKind.Relative));

Note: Do not change this statement. Because the about page has been compiled into the DLL, when I used it for the first time, I changed yourlastaboutdialog to my project name. Naturally, the page cannot be found.

After compilation, you can see that the about page is displayed. It looks good.

This component also supports multiple languages. You have time to study and write it down.

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.