DZone
Mobile Zone
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
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Mobile Zone > Building an Image Browser for Windows 8

Building an Image Browser for Windows 8

Shubham Saxena user avatar by
Shubham Saxena
·
Jan. 24, 13 · Mobile Zone · Interview
Like (0)
Save
Tweet
4.91K 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

  • 7 Ways to Capture Java Heap Dumps
  • Purpose-Driven Microservice Design
  • Top 10 Automated Software Testing Tools
  • Open Source Monitoring and Metrics Landscape

Comments

Mobile Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • 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:

DZone.com is powered by 

AnswerHub logo