c# - Get photo from album to show in ListBox -


i use code, can't view picture.

public class imginfo {     public string img { get; set; } }  private void showpictures() {     list<imginfo> images = new list<imginfo>();     dynamic pictures = _fb.get((selectedalbum.id + "/photos"));     foreach (dynamic pic in pictures.data)     {         imginfo imginfo = new imginfo() { img = pic["picture"]};         images.add(imginfo);     }      imagegridview.itemssource = images; } 

xaml:

<listbox x:name="imagegridview" borderthickness="0"> 


Comments

Popular posts from this blog

ios - iPhone/iPad different view orientations in different views , and apple approval process -

php - HTTP_REFERER woes: How can I allow access to a specific page, only when a visitor has visited another specific page beforehand? -

java Extracting Zip file -