How do I get the image url? My xaml is:
<toolkit:HubTile Name="Demo" Title="Demo" Source="demo\0.png" Margin="15" Tap="Demo_Tap"/>
and in c# I try to get the url from the sender (because I have a lot of entry’s in the same tap)
my c# so far
((Microsoft.Phone.Controls.HubTile)(sender)).Source
and I get errors
what I need rests inside
System.Windows.Media.Imaging.BitmapImage m_string;
but how do I access that?
If
Sourceis aBitmapImageyou can just cast the sender source asBitmapImage