Hi people!!
i wanna do a if statement to check if the image source of a certain image is the same as one string.
I have tried the following methods:
if (image6.Source.ToString() != "/2ND%20EAR;component/Images/add.jpg")
Uri uri = new Uri("/2ND%20EAR;component/Images/add.jpg", UriKind.Absolute);
ImageSource imgSource = new BitmapImage(uri);
if (image5.Source.Equals(imgSource))
But both dont work for me.
Does anyone got any other method??
Thanks!