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? 回答1: Use a RichEditCtrl. Does the text need to be editable? Otherwise you could use Labels and Hyperlinks in a StackPanel. 来源: https://stackoverflow.com/questions/6564097/create-hyperlink-in-textbox-control