1
Answer

How to customize propertyGrid control to support Hyperlinks

Ask a question
kumar p

kumar p

14y
5k
1
Hi friends,

I have a Windows App developed in C# and .NET. I have a class which is having a property called WebsiteLink of String data type and this property will be displayed in a propertyGrid control. User can enter website URL and save it. After saving the details, the WebsiteLink property field in propertyGrid will be Read-Only. 

I have a requirement such that if user clicks on the website field which is Read-Only, it should open the link in Interner Explorer automatically. Im under the impression that PropertyGrid is capable enough to provide this behavior. If not, I may need to write UITypeEditor/custom PropertyEditor.

Please suggest in achieving this behavior. Thanks in advance.

Regards,
Kumar

Answers (1)