Custom TreeView Control

Please support our C# advertiser: Intel Parallel Studio Home
Reply

Join Date: Feb 2005
Posts: 9
Reputation: saurabh singh is an unknown quantity at this point 
Solved Threads: 0
saurabh singh saurabh singh is offline Offline
Newbie Poster

Custom TreeView Control

 
0
  #1
Mar 18th, 2008
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.
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 2,065
Reputation: Ramy Mahrous is just really nice Ramy Mahrous is just really nice Ramy Mahrous is just really nice Ramy Mahrous is just really nice 
Solved Threads: 256
Featured Poster
Ramy Mahrous's Avatar
Ramy Mahrous Ramy Mahrous is offline Offline
Postaholic

Re: Custom TreeView Control

 
0
  #2
Mar 18th, 2008
You can do it from TreeView properties, it's so easy to make it on your own.
BI Developer | LINKdotNET
B.Sc Computer Science, Helwan University
Technical blog | http://ramymahrous.wordpress.com
LinkedIn | http://www.linkedin.com/in/ramymahrous
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 9
Reputation: saurabh singh is an unknown quantity at this point 
Solved Threads: 0
saurabh singh saurabh singh is offline Offline
Newbie Poster

Re: Custom TreeView Control

 
0
  #3
Mar 19th, 2008
Treeview allows either to have image or not at all. It does not allow image in some nodes and some nodes without image.
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 2,065
Reputation: Ramy Mahrous is just really nice Ramy Mahrous is just really nice Ramy Mahrous is just really nice Ramy Mahrous is just really nice 
Solved Threads: 256
Featured Poster
Ramy Mahrous's Avatar
Ramy Mahrous Ramy Mahrous is offline Offline
Postaholic

Re: Custom TreeView Control

 
0
  #4
Mar 19th, 2008
You can do it programatically Node.Image and set it by your hand..
BI Developer | LINKdotNET
B.Sc Computer Science, Helwan University
Technical blog | http://ramymahrous.wordpress.com
LinkedIn | http://www.linkedin.com/in/ramymahrous
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 9
Reputation: saurabh singh is an unknown quantity at this point 
Solved Threads: 0
saurabh singh saurabh singh is offline Offline
Newbie Poster

Re: Custom TreeView Control

 
0
  #5
Mar 24th, 2008
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.
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 1
Reputation: jjbrooks13 is an unknown quantity at this point 
Solved Threads: 0
jjbrooks13 jjbrooks13 is offline Offline
Newbie Poster

Re: Custom TreeView Control

 
0
  #6
Feb 7th, 2009
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?
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 1,735
Reputation: LizR has a spectacular aura about LizR has a spectacular aura about 
Solved Threads: 186
LizR LizR is offline Offline
Posting Virtuoso

Re: Custom TreeView Control

 
0
  #7
Feb 8th, 2009
You could also set a blank image for those who do not need an image.
Did I just hear "You gotta help us, Doc. We've tried nothin' and we're all out of ideas" ? Is this you? Dont let this be you! I will put in as much effort as you seem to.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C# Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC