TreeViewExpandState.CompareNodeDelegate Delegate (console safe)
Delegate to use to supply custom node comparer for the state. By default nodes are compared by the Text.
Parameters
- node
- New node to be compared.
- originalNode
- Original node to be compared.
Returns
- Boolean
- True if the nodes are thought to be equal based on the default or custom comparision.
Remarks
But if you have subclassed node and have Database record id on the subclass then of course that is far better comparison key.
See Also
TreeViewExpandState Class