Пример #1
0
        private static void OnHyperlinkClicked(Windows.UI.Xaml.Documents.Hyperlink sender, Windows.UI.Xaml.Documents.HyperlinkClickEventArgs args)
        {
            ICommand command   = GetCommand(sender);
            object   parameter = GetCommandParameter(sender);

            command?.Execute(parameter);
        }
Пример #2
0
 private void Hyperlink_Click(Windows.UI.Xaml.Documents.Hyperlink sender, Windows.UI.Xaml.Documents.HyperlinkClickEventArgs args)
 {
     var t = new Windows.UI.Popups.MessageDialog("Hyperlink clicked!").ShowAsync();
 }