"Tocnet" <a@a.com> schrieb:
I would like to add a custom property to the treenode object, after I have
some TreenodeCollection problem when I used my custom treeview.
Can you help me to do it or an example ?
Either store the additional data in the node's 'Tag' property or create a
class that inherits from 'TreeNode' and extends it by additional properties.
Note that you'll have to cast references returned by a 'TreeNodeCollection'
to the more specific type of your extended node type.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>