none
Customize the TreeView control RRS feed

  • Question

  •  

    Hi, I'm still new to .NET development so I'm really not sure that what I'm asking below can be done. But any help and suggestions are appreciated!

     

    I want to make a user control which looks like the TreeView control but I would like to use custom images or labels as TreeNode. Would this be possible by deriving from the TreeView control or TreeNode?

     

    If it is, what's the best practice for this?

     

     

    Thanks!

    Wednesday, February 27, 2008 2:39 PM

Answers

  • You can already set icons for a TreeNode and the text it displays, without customising it.

    Wednesday, February 27, 2008 2:56 PM

All replies

  • You can already set icons for a TreeNode and the text it displays, without customising it.

    Wednesday, February 27, 2008 2:56 PM
  • Ah.. I've just seen the ImageList property now.

     

    No need to customize the control, I was thinking too muchSmile 

     

     

    Thanks!

     

    Wednesday, February 27, 2008 3:13 PM