Version 1.3.5,
I've added NodeSelectedchange handler to the treeListViewFrm (Tree/ListView Replacement sample):
[c#]
private void FillGrid()
{
//.....
todoList.NodeSelectedChange += new NodeHandler(todoList_NodeSelectedChange);
}
private void todoList_NodeSelectedChange(object sender, NodeBase node)
{
System.Diagnostics.Debug.WriteLine(string.Format("Node: Index:{0}, Selected: {1}", node.Index, node.Selected.ToString()));
}
Here is debug output (with my comments):
Node: Index:0, Selected: True //node from first row is selected
Node: Index:0, Selected: False //node from first row is unselected
Node: Index:1, Selected: True //and node from second row is selected
Node: Index:1, Selected: False //etc...
Node: Index:2, Selected: True
Node: Index:2, Selected: False
Node: Index:1, Selected: True
Node: Index:1, Selected: False
Node: Index:2, Selected: True