The HyperLink Control is the control to link to another page. The HyperLink can navigate to an "URL" as well as an XAML page. HyperLink properties:
</StackPanel>
</ScrollViewer>
</UserControl>The XAML page has the design of the page with the HyperLink Control.Navigation:<HyperlinkButton Background="Yellow" Name="MyHyperlink" ClickMode="Press" Content="AutoCompleteBox" Foreground="Blue" FontFamily="Arial" FontSize="15" NavigateUri="http:\\www.google.com"></HyperlinkButton>This navigates to the Google page.Navigation from XAML to another XAML:<HyperlinkButton Background="Yellow" Name="MyHyperlink" ClickMode="Press" Content="AutoCompleteBox" Foreground="Blue" FontFamily="Arial" FontSize="15" Click="HyperlinkButton_Click" ></HyperlinkButton>
C# private void HyperlinkButton_Click(object sender, RoutedEventArgs e) { this.Content=new Page1(); }Thank you!!!
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: