943,987 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Unsolved
  • Views: 12659
  • C# RSS
Mar 18th, 2008
0

Custom TreeView Control

Expand Post »
Hi All,
I want to create a custom treeview control in which some nodes will have image and some will not. What should do for this, Need some Help.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
saurabh singh is offline Offline
9 posts
since Feb 2005
Mar 18th, 2008
0

Re: Custom TreeView Control

You can do it from TreeView properties, it's so easy to make it on your own.
Featured Poster
Reputation Points: 480
Solved Threads: 276
Postaholic
Ramy Mahrous is offline Offline
2,189 posts
since Aug 2006
Mar 19th, 2008
0

Re: Custom TreeView Control

Treeview allows either to have image or not at all. It does not allow image in some nodes and some nodes without image.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
saurabh singh is offline Offline
9 posts
since Feb 2005
Mar 19th, 2008
0

Re: Custom TreeView Control

You can do it programatically Node.Image and set it by your hand..
Featured Poster
Reputation Points: 480
Solved Threads: 276
Postaholic
Ramy Mahrous is offline Offline
2,189 posts
since Aug 2006
Mar 24th, 2008
0

Re: Custom TreeView Control

Sorry,I have not found any Node.Image Property instead we have to set it by ImageList Control. Once we use ImageList then treeview control automatically uses an image from imagelist to set to those nodes for which we have not set any image.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
saurabh singh is offline Offline
9 posts
since Feb 2005
Feb 7th, 2009
0

Re: Custom TreeView Control

I created this multi-column treeview control:
http://www.DigitalTools.com/GVT.aspx
What kind of help did you need? Where is your skill level now?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
jjbrooks13 is offline Offline
1 posts
since Feb 2009
Feb 8th, 2009
0

Re: Custom TreeView Control

You could also set a blank image for those who do not need an image.
Reputation Points: 196
Solved Threads: 190
Posting Virtuoso
LizR is offline Offline
1,735 posts
since Aug 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: how to add the link list data in to tree view
Next Thread in C# Forum Timeline: File read and write synrax





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC