|
-
Jan 17th, 2005, 08:59 AM
#1
Thread Starter
Registered User
Add own properties to treenode
Hi,
A treenode got properties like text, tag, etc.
From the back of my head I remember you can add your own properties, methods and events to a existing .net object.
I want to add properties to a treenode to store some values.
Can someone just push me off in the right direction? Sample code will be nice, but jsut need a keyword or two and will take it from there.
Thanx!!!
Last edited by NicoNel2000; Jan 17th, 2005 at 09:25 AM.
Reason: Resolved
-
Jan 17th, 2005, 09:23 AM
#2
Re: Add own properties to treenode
you would need to create your own class, and that class would inherit from TreeNode
-
Jan 17th, 2005, 09:27 AM
#3
Thread Starter
Registered User
Re: Add own properties to treenode
Hi,
Thanx.....Got an article on that and busy figuring it out!
If anyone else ever get pass here and need some help, check out this link:
http://www.devcity.net/Articles/23/1..._treeview.aspx
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|