Leo Vo
Leo Vo

Reputation: 10330

Find a control to display a hyperlink on a text

I have a string: "ABC BCC CDD". When I set this text to control, control will display ABC, BCC, CDD like a hyperlink. I need this control. Thanks.

My application is C# WinForm, .NET 2.0.

Upvotes: 0

Views: 445

Answers (5)

Surender Dagar
Surender Dagar

Reputation: 11

i think just check there property and it will ask for which page you want to navigate this is simple way for making the text a hyperlink. and ofcourse it will work.

Upvotes: 1

Alireza Noori
Alireza Noori

Reputation: 15253

I think you should implement your own UserControl with the help of LinkLabel (ie. splitting the text to an array of words and use each one in a LinkLabel). Of course this is one way to do it. There's many ways to do it but I don't think there's an easy one.

Upvotes: 0

MaxXx1313
MaxXx1313

Reputation: 28

So, maybe I undetstand your question incorrectly, but... Here listed all most used Window Form controls: http://msdn.microsoft.com/en-us/library/aa511482.aspx

How about the LinkLabel, is it what you're looking for? Read more about the LinkLabel class: http://msdn.microsoft.com/en-us/library/system.windows.forms.linklabel.aspx

Sorry if I missed...

Upvotes: 1

Sergey Vedernikov
Sergey Vedernikov

Reputation: 7744

May be LinkLabel control?

Upvotes: 0

digEmAll
digEmAll

Reputation: 57210

For an Hyperlink effect in WinForms, use LinkLabel control.

Upvotes: 0

Related Questions