Display Hyperlink in .Net PropertyGrid RRS feed

  • Question

  • Hi,

    I have an application which contains .net Propertygrid.  The value of one of the properties in this Propertygrid si to be shown as a hyperlink with a specified DisplayText.  I am not sure how to do this.

    I looked at various articles of implementing of CustomTypeEditor but none helped.

    Any help is highly appreciated.



    • Edited by kvk1985 Friday, October 4, 2013 3:27 PM
    Friday, October 4, 2013 3:27 PM


  • A hyperlink is simply a string so that is what the PG will show.  It is not designed for what you're trying to do and I would question the benefit of doing so.  The purpose of a PG is to edit the properties of an object so the property values shouldn't be actionable.  How would you edit the value if clicking it caused it to jump somewhere?  You can however create a property that when edited provides an editor to allow you to enter a URL.  If you need to be able to click a property and jump to a URL then the PG isn't really the best control.

    Michael Taylor

    Friday, October 4, 2013 7:02 PM