我的Windows Telephone有几张图像,这些图像被捆绑到里面,因此,在下载所有图像时,天线会受阻。 我不得不在不同的路面上制造一个轨道图象,因为我会得到“有效穿透”的消化。
我试图用一个网络Client下载图像,但没有任何建筑商接受比特图米的溪流。
对我如何在背景中下载图像有什么想法?
感谢
出口
我的Windows Telephone有几张图像,这些图像被捆绑到里面,因此,在下载所有图像时,天线会受阻。 我不得不在不同的路面上制造一个轨道图象,因为我会得到“有效穿透”的消化。
我试图用一个网络Client下载图像,但没有任何建筑商接受比特图米的溪流。
对我如何在背景中下载图像有什么想法?
感谢
出口
为了使用<代码>Stream提供<代码>BitmapImage的内容,请使用违约构造者然后打电话<代码>SetSource通过:-
var bi = new BitmapImage();
bi.SetSource(myStream);
但 我认为,你可以在这里重新发明轮.。 探讨以下联系:
保持低姿态(LowProfileImage Loader帮助Windows 7 UI thread通过在背景上填充图像而保持响应性。
你们仍在使用网络Client的宇宙航行联合会大厦上。 如果你继续这样做,你也可以考虑HttpWebRequest。 这里有一个工作样本,包括针对无效的交叉读取例外的解决办法。
http://social.msdn.microsoft.com/Forums/en-US/windowsphone7series/thread/594e1422-3b69-4cd2-a09b-fb500d5eb1d8”rel=“nofollow”>WebClient, HttpWebRequest and UI Thread onWindows 7
Our team decided that we need our own custom Rich text box control for Silverlight app we are developing. We looked at existing controls mentioned at A good rich text control for Silverlight but ...
I m trying to add an image to a Pushpin instance from the Silverlight Bing Map Control, but I can t seem to get it to render (the pushpin renders fine). This is probably a general WPF question rather ...
I m processing large files after they are selected by the user. My code looks like the following: if (FileDialog.ShowDialog() == true) { // process really big file } This freezes up the UI so ...
Does anyone know where to find a list of controls that you can set the template on in Silverlight? I ve wasted several hours now trying to create control templates only to find that the control doesn ...
I have a simple silverlight multifile upload application, and i want to provide the user with some feedback, right now its only in a test phase and i dont have the webservice. Somehow i cant get the ...
This looks a bug to me.. Using Silverlight 3 and i have a user control defined in XAML and trying to access the object during runtime returns a null. <Grid> <common:CommonGridEditPanel x:...
Someone please help me understand why this binding does not work... I have a class called SelectionManager with a property called dates which is populated by a WCF service. The property is an ...
I ve got some code which sets up a datacontext. Often enough, the datacontext should be set to some underlying data collection, such as an ObservableCollection - but occasionally I d like to set it ...