我正在开发Windows Phone应用程序。为什么XAML图像源属性包含“/ MyApp; component”?
我使用的图像,当我选择使用属性面板中,我得到以下XAML图片:
<Image x:Name="GameImage" Margin="8" Source="/MyApp;component/Assets/Icons/GameImage.png"/>
为什么会出现“/MyApp;component/...
”? (有没有更好的办法?)
如果我试图做Image.Source="Assets/Icons/GameImage.png"
为什么它不起作用?
'FrameworkElement.BaseUri'仅适用于新的Windows Phone 8.1的Windows答存储应用;不过,这个请求是关于Windows Phone 7应用程序的。 – 2014-06-04 13:52:04