I am doing a project which is to replicate the game Buckshot Roulette.When I was designing the prop Converter,I need to get the source-file-name the Image using.Then I tried(Image for certain Image object):
(Image.Source as BitmapImage).UriSource.AbsolutePath
However,it is abnormal that sometimes the value is /Assets/bullet_unknown.png but sometimes /Assets/.png
I wonder what can I do to get the correct file name(path,actually).
And what is the reason?