1.

How Can You Set Image Source Dynamically From C# Application To"test.png" File?

Answer»

Surprisingly it is not as STRAIGHT forward as it might sound, but ANYONE who SERIOUSLY worked with Silverlight should be easily answer it. One of the ways is: img.Source = new BitmapImage(new Uri("test.png", UriKind. RELATIVE));

Surprisingly it is not as straight forward as it might sound, but anyone who seriously worked with Silverlight should be easily answer it. One of the ways is: img.Source = new BitmapImage(new Uri("test.png", UriKind. Relative));



Discussion

No Comment Found