DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Join us tomorrow at 1 PM EST: "3-Step Approach to Comprehensive Runtime Application Security"
Save your seat
  1. DZone
  2. Testing, Deployment, and Maintenance
  3. Maintenance
  4. Building an Image Browser for Windows 8

Building an Image Browser for Windows 8

Shubham Saxena user avatar by
Shubham Saxena
·
Jan. 24, 13 · Interview
Like (0)
Save
Tweet
Share
5.02K Views

Join the DZone community and get the full member experience.

Join For Free

this is a very first app we are going to create for windows 8, an image browser using a flipview control. the flipview control lets people flip through views or items one at a time. flip buttons appear on mouse hover and let people flip to the next or previous item.

first step: create a new metro style blank app project.

now the project is created and the ‘mainpage.xaml’ is opened in the main window or you can open it from the solution explorer. firstly we will add flipview control which can be done by using the toolbox on left or writing some xaml code. the code for adding a flipview is written below, we have used horizontalalignment and verticalalignment so that our control comes in center of the screen.

<flipview horizontalalignment=”center”  verticalalignment=”center”>

</flipview>

flipview control can contain many flipviewitem in it, which will flipped once at a time, inside the flipviewitem we define what is to be displayed, since we are making a image gallery we will use image control inside every flipviewitem we add. here is the complete snippet of the code.

i have added three images as a sample, you can add as many as u can or u can bind the image control programmatically to retrieve ‘n’ number of images. you might have noticed the beauty of windows 8 sdk, i haven’t used any c# code and i have a nice light weight image browser. debug the app.

ask for source code. cheers :)

app Snippet (programming) Blank (solution) Debug (command) Light (web browser)

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Promises, Thenables, and Lazy-Evaluation: What, Why, How
  • Choosing the Best Cloud Provider for Hosting DevOps Tools
  • Unleashing the Power of JavaScript Modules: A Beginner’s Guide
  • Project Hygiene

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: