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.