开发者

Find a control to display a hyperlink on a text

I have a string: "ABC BCC CDD". 开发者_如何学PythonWhen 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.


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...


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.


For an Hyperlink effect in WinForms, use LinkLabel control.


May be LinkLabel control?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜