Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2549
Is there an event that is fired if a node is added
posted

Hi all,
I am struggling with the following problem.
I want to display the amount of subnodes of certain nodes in the tree (Caption (no of nodes)).
The tree is constructed manually and uses specialized Nodes derived from UltraTreeNode. 
I was earching for a NodeAdded event, but couldn't find any.  
Overriding the OnAddedToCollection method didn't work out, so I am kind of stuck.
I do not want to put the logic where I add nodes if possible, so the node should somehow keep track of its subnodes on its own...

Is there anything that will help me there? InitializeDataNode didn't work either...

Any help is kindly appreciated,
have a great day
Andy