How to programmatically set the Image source June 5, 2023 by Tarik Try this: BitmapImage image = new BitmapImage(new Uri("/MyProject;component/Images/down.png", UriKind.Relative));