how to set image Source in the code C#

90

how to set image Source in the code C# -

myImage.Source = new BitmapImage(new Uri(@"/Images/foo.png", UriKind.Relative));

Comments

Submit
0 Comments