0

我已经尝试了以下代码,但它没有在 Windows Phone 8 上产生任何活动:

MediaLibrary m = new MediaLibrary();

foreach (var r in m.Pictures)
{
    Stream imageStream = r.GetImage();

    var imageToShow = new Image()
    {
        Source = PictureDecoder.DecodeJpeg(r.GetImage())
    };

    lstImageFromMediaLibrary.Items.Add(imageToShow);
}
4

0 回答 0