为啥这段代码不能打开page1.xaml页面呢
为什么这段代码不能打开page1.xaml页面呢?
<HyperlinkButton Width="142"
Height="47"
x:Name="HomeLink"
Content="Page1页面"
Foreground="Yellow"
FontWeight="Bold"
HorizontalAlignment="Left"
Margin="6,127,0,0"
VerticalAlignment="Top"
NavigateUri="/Page1.xaml"/>
弱弱的问一句 Page1.xaml页面是什么啊?!!长什么样的?
------解决方案--------------------
路径对吗?
Page1.xaml是在根目录下吗?
------解决方案--------------------
首先,要指定是相对路径;然后,确保 Page1.xaml 存在。
------解决方案--------------------
Page1.xaml 是 WP 开发的一个基本东东,建议 LZ 看看 WP 编程的基础知识。
<HyperlinkButton Width="142"
Height="47"
x:Name="HomeLink"
Content="Page1页面"
Foreground="Yellow"
FontWeight="Bold"
HorizontalAlignment="Left"
Margin="6,127,0,0"
VerticalAlignment="Top"
NavigateUri="/Page1.xaml"/>
弱弱的问一句 Page1.xaml页面是什么啊?!!长什么样的?
------解决方案--------------------
路径对吗?
Page1.xaml是在根目录下吗?
------解决方案--------------------
首先,要指定是相对路径;然后,确保 Page1.xaml 存在。
------解决方案--------------------
Page1.xaml 是 WP 开发的一个基本东东,建议 LZ 看看 WP 编程的基础知识。