Windows 8 practical tips series: 3. The first split layout application to modify the logo

Source: Internet
Author: User

Create a new split layout application in vs2012ProgramAs follows:

The project layout is as follows:

Here we can see the content and significance of the project structure as follows:

Assets Folder: stores system images and resources

Common Folder: Storage System PublicCodeAnd common files

Datamodel Folder: stores data at the data layer, and stores sample data in this instance.

Itemspage. XAML: Main content list display group Interface

Splitpage. XAML: in-group Data Presentation Interface

Package. appxmanifest: Application List page that defines the current application release, logo, signature, and other information

Splitgrid_temporarykey.pfx: Application signature certificate file

App. XAML: The application startup file, which defines the application startup point and the style dictionary used.

Copy some images to the splitgrid \ assets \ IMG \ folder, and modify the following settings on the package. appxmanifest page to reset the page logo and start the pending logo, as shown in:

Then, modify the image path in the sampledatasource class in the datamodel folder to "assets/img/badges_002.png" and set the corresponding standardstyles. the corresponding icon style in the XAML file is as follows: Stretch = "NONE", you can get the following:

 

For the source code of this instance, click splitgrid.zip to download it and write it in Windows 8 + vs 2012.

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.