【发布时间】:2011-04-21 12:54:06
【问题描述】:
我正在开发一个 Windows Phone 应用程序。
我正在使用图像,当我使用“属性”面板选择图片时,我得到以下 XAML:
<Image x:Name="GameImage" Margin="8" Source="/MyApp;component/Assets/Icons/GameImage.png"/>
为什么我收到“/MyApp;component/...”? (有没有更好的办法?)
如果我尝试做Image.Source="Assets/Icons/GameImage.png" 为什么它不起作用?
【问题讨论】:
标签: image xaml windows-phone-7