1
我試圖將圖像添加到Silverlight 3應用程序中的按鈕,但無法顯示圖像。我將一個名爲\ images的文件夾添加到我的Silverlight應用程序文件夾中,並在Image的Source屬性中使用相對路徑。我究竟做錯了什麼?將圖像添加到XAML中的按鈕
<Button Width="200"
Height="200">
<Image Source="images\document.png"></Image>
</Button>
Doh!接得好!這是反斜槓... – DenaliHardtail 2009-12-04 22:16:58