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!!!
Re: Add own properties to treenode
you would need to create your own class, and that class would inherit from TreeNode
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