Linked Questions
13 questions linked to/from Example using Hyperlink in WPF
14 votes
3 answers
10k views
How can I get a FlowDocument Hyperlink to launch browser and go to URL in a WPF app?
The following code in a WPF app creates a hyperlink that looks and acts like a hyperlink, but doesn't do anything when clicked. What do I have to change so that when I click it, it opens the default ...
3 votes
1 answer
5k views
How to add a hyperlink in a TextBlock in code?
In this question (the answer from eandersson) a hyperlink is used within a TextBlock. I would like to do the same but in the code behind - how to do that? Example from the link: <TextBlock> ...
1 vote
1 answer
4k views
How do you get NavigateUri to work in a WPF window?
The mailto link doesn't work in this sample: <Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <...
1 vote
3 answers
2k views
WPF ListBox binding with conditional display
I have a WPF ListBox that I am binding to a collection of Contact objects, similar to public class Contact { int ContactId { get; set; } int ContactType { get; set; } // 1 = phone number, ...
5 votes
1 answer
1k views
How to make a particular word(s) as hyperlink at runtime in xaml
I am using MVVM model in my silverlight(windows phone)application.I have a textblock in my view called "Status".This textblock will display the status of the transaction.If user is not registered then ...
1 vote
2 answers
1k views
Hyperlinks in WPF browser not working
I have included a browser control in a WPF app I'm working on and when hyperlinks in the displayed web page are clicked nothing happens. To go to another page I have to right-click on the link and ...
0 votes
1 answer
1k views
link email address and send email via outlook
I am working on a wpf app, and I have a Customer Information section where I can record my customer information. In this section, I use a textbox recording customer's email address. But now I want to ...
0 votes
1 answer
823 views
Hyperlink on selected value of combobox which is in DataGridTemplateColumn
I am using datagrid in WPF. In one of the column i need to display dropdown values. When the value is selected from combobox i want it to become hyperlink so that users will click the like to open new ...
-2 votes
1 answer
578 views
How to store hyperlink in XML file and retrive it to WPF ListBox?
I have a problem again. My problem is that I don't know how to store hyperlink in XML file and how to retrive it from there to WPF ListBox. In my application I write XML file in the following way: &...
0 votes
1 answer
284 views
How to show a hyperlink in a text
I have a text which may contain some special characters like <b></b> or a link. I want the user to be able to click on the link and open it. TextBlock or RichTextBox seems doesn't show ...
0 votes
1 answer
247 views
Simple implementation of a textblock or textfield or richtext that allows a URL in WPF using C#
I have looked at various solutions on how to have a simple URL on a textfield, a rich text field in a WPF implementation using C#. Tried to implement solutions on Clicking HyperLinks in a RichTextBox ...
0 votes
1 answer
136 views
HyperlinkButton NavigateUri does not work in Safari
I use HyperLinkButton and add method in c# code for click for him. Code method: void btnViewURL_Click(object sender, RoutedEventArgs e) { if (string.IsNullOrWhiteSpace(viewURL) == false ...
0 votes
1 answer
41 views
I have a string that has a reference to a document (example c:\users\testdocument.doc)
I just want to open it by clicking on a button or a hyperlink. It dont want to open it inside my program