请问这是什么语法?
source="/MyControl;component/nasa.png"
语法是不是: "程序名空间;component/图片路径"
我看应该是访问Resource的写法,但为什么我就是没办法成功呢?
<phone:PhoneApplicationPage.ApplicationBar>
<shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
<shell:ApplicationBarIconButton IconUri="/SinaOnWP7;component/Images/appbar.overflowdots.png" Text="Button 1"/>
<shell:ApplicationBarIconButton IconUri="/Images/appbar.refresh.rest.png" Text="Button 2"/>
</shell:ApplicationBar>
</phone:PhoneApplicationPage.ApplicationBar>
第一个按钮始终出不来图片。第二个按钮的图片我把BuildAction设置成Content,就可以显示出来,但我想知道第一个按钮图片如果是Resource的话,我应该怎么才能让它显示出来。