Alex Biddle

Alex Biddle

  • NA
  • 10
  • 5k

C# listview item changes image

Aug 17 2014 7:03 AM
I am currently building an app for windows 8 by using C# and XAML
 
 What i want is for a listview item to be clicked and the blank image on the right changes i.e. if i click on a listview item called einstein i want the image to show a picture of Einstein (i already have the images loaded into the assets) as well as when i click on a listview item called Galileo i want the image i have of Galileo to appear in the image.
 
I have done the c# code partly i.e. 'if ("listview".selectedindex==0)
 
Thanks :)