Saturday, 31 August 2013

Windows Phone Display image

Windows Phone Display image

How to get Image from server using Albumid
Example url: http://abcd.com/images/
and AlbumId im getting using xml parsing
//XNamespace ns = "http://abcd.com/Images/";
listBox1.ItemsSource = from tweet in XmlTweet.Descendants("Album")
select new Data()
{
// ImageSource = tweet.Element("").Value,--how to get images to list
box
Name = tweet.Element("Name").Value,
};
Image Source="{Binding ImageSource}" Height="100" Width="100"
HorizontalAlignment="Center" VerticalAlignment="Center"

No comments:

Post a Comment