user725913
user725913

Reputation:

Create hyperlink in TextBox control

Is there some way that I could create a hyperlink within a Textbox control? The catch: I would like only certain text to act as a hyperlink. For example, StackOverflow.com allows me to make only THIS text act as a hyperlink. Is there some way to do this in C# from withing a Textbox?

Upvotes: 13

Views: 28765

Answers (1)

Joe Sonderegger
Joe Sonderegger

Reputation: 804

Use a RichEditCtrl. Does the text need to be editable? Otherwise you could use Labels and Hyperlinks in a StackPanel.

Upvotes: 1

Related Questions