//condition here if(label.Content.ToString().Equals("someName")){ BitmapImage image = new BitmapImage(new Uri("abc.JPG", UriKind.Relative)); imageCon.Source = image; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)