Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi,

 

I'm trying to make a TreeView inherited control that just displays an image in the background of the nodes. I tried overriding OnPaint/OnPaintBackground methods, BackgroundImage property, even making a parent picturebox underneath the control and setting SupportsTransparentBackColor style bit, but it seems that the TreeView control doesn't actually support that :) Opaque style also doesn't work.

Did anyone come across such a thing? It could make the treeview look a lot cooler, combined with some nice node icons.

 

Thanks,

Janko Jerinic

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...