LOGIN    REGISTER    YOUR CART

homepage
VisualHint's blog
2005
Nov28

Properties with hyperlink

You already know the HotLinkProperty. It lets you put a static text in a row and it looks blue and underlined, inviting you to a click to activate the link. I have added in the latest build, on request, an editable link. Basically this is a normal property that you create as usual but you just add something like this:

propEnum.Property.HyperLinkFormat = "mailto:{0}";

Smart PropertyGrid with hyperlinks

When Ctrl+clicked (for HotLinkProperty or such normal properties), you will receive the event HotLinkClickedEvent and get the complete hyperlink, with {0} replaced by the actual property value.