How to use HyperlinkButton
to show ContentDialog
page in Windows Phone 8.1.
XAML:
<HyperlinkButton NavigateUri="Login/ForgotPassword.xaml">
<TextBlock>
<Underline>
<Run>Forgot Password?</Run>
</Underline>
</TextBlock>
</HyperlinkButton>
ForgotPassword.xaml
is a ContentDialog
Page which is present in View
folder.
By using this XAML code I am getting following windows screen on click event:
Which is not expected. Anything I am missing here?