Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Web サービスを介して画像の URL を取得するアプリケーションを作成しています。その画像をアプリケーションの背景に表示したいのですが、どうすればよいですか? 表示する前にすべての画像をダウンロードする必要がありますか? 説明してください。
Image好きな場所に配置できるコントロールを介して画像を表示できます。URL から画像を表示するには、次のようにします。
Image
Uri uri = new Uri("http://dilbert.com/dyn/str_strip/000000000/00000000/0000000/000000/80000/5000/100/85108/85108.strip.print.gif", UriKind.Absolute) image1.Source = new BitmapImage(uri);
この質問に従って:
Silverlight Windows Phone 7: URL から画像を読み込む