.NET Framework · Silverlight 2
Nastavení Image.Source z kódu
[sourcecode language=“csharp“ light=“true“]
myImage.Source = new BitmapImage(new Uri("images/myImage.jpg", UriKind.Relative));
[/sourcecode]
myImage.Source = new BitmapImage(new Uri("images/myImage.jpg", UriKind.Relative));
[/sourcecode]