Overriding Equals in tree nodes
Brought to you by:
agaman
I've got some tree nodes (inheriting from Aga.Controls.Tree.Node) that override Equals, unfortunately when I use them with OnNodesRemoved my method never gets called. I think the == comparison (Ln 1231 TreeViewAdv.cs) calls the object version of equals, which gives a reference comparison. I've updated the method to use parent.Nodes[i].Tag.Equals and my override then gets used.
Patch