當我想更改圖像的來源時,圖像就會消失。在Windows Phone中更改其來源時不顯示圖像
的代碼我使用:
tactImg.Source=tactImgList[i];
tactImgList = new BitmapImage[32];
tactImgList[0] = new BitmapImage(new Uri("ms-appx:///Assets/Images/1.png", UriKind.Absolute));
我在做什麼錯?有什麼我需要添加到xaml文件或我讓全局數組錯了嗎?