Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/silverlight/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Silverlight 如何与其他页面链接?_Silverlight - Fatal编程技术网

Silverlight 如何与其他页面链接?

Silverlight 如何与其他页面链接?,silverlight,Silverlight,我尝试过,但只在互联网上使用网页。 如何与文件中的其他页面链接 <HyperlinkButton Background="#00FF0000" Height="46" HorizontalAlignment="Left" Margin="33,0,0,93" VerticalAlignment="Bottom" Width="134" BorderBrush="Red" FontFamily="Comic Sans MS" FontSize="26.667" Foreground="Red

我尝试过,但只在互联网上使用网页。 如何与文件中的其他页面链接

<HyperlinkButton Background="#00FF0000" Height="46" HorizontalAlignment="Left" Margin="33,0,0,93" VerticalAlignment="Bottom" Width="134" BorderBrush="Red" FontFamily="Comic Sans MS" FontSize="26.667" Foreground="Red" Content="Next Page" NavigateUri="C:\SilverlightApplication15\SilverlightApplication15\try.xaml">
                <i:Interaction.Triggers>
                    <i:EventTrigger EventName="Click">
                        <ic:HyperlinkAction/>
                    </i:EventTrigger>
                </i:Interaction.Triggers>
            </HyperlinkButton>

假设此.xaml文件位于xap中,请尝试改用相对路径:

<HyperlinkButton NavigateUri="/try.xaml"> 

此外,这可能有助于: