Hi Guys,
I found a bug in treeview when pressing F2 to edit the name. Here is the scenario:
On my screen, left side is a treeview, right side is a textbox. Treeview is bound to an observablecollection. When selecting an item in the treeview, the tree node name is showing on the textbox of right side.
1. Select a treenode (Item1), Textbox shows Item1's name (Item1).
press F2,
do not change anything, press enter key.
2. click the textbox of right side, change Item1 to Item2. Since it is bound to ObservableCollection, once it is changed to Item2, treenode is changed accordingly.
3. Select treenode Item2(the same node as Item1 but now named Item2) , hit F2, the treenode displays Item1 instead of Item2
If you don't Press F2 in step1, it works fine. It looks like although the source is changed, when you hit F2, the content showing in F2 box is not refreshed. Please investigate.
Thanks,
I found a bug in treeview when pressing F2 to edit the name. Here is the scenario:
On my screen, left side is a treeview, right side is a textbox. Treeview is bound to an observablecollection. When selecting an item in the treeview, the tree node name is showing on the textbox of right side.
1. Select a treenode (Item1), Textbox shows Item1's name (Item1).
press F2,
do not change anything, press enter key.
2. click the textbox of right side, change Item1 to Item2. Since it is bound to ObservableCollection, once it is changed to Item2, treenode is changed accordingly.
3. Select treenode Item2(the same node as Item1 but now named Item2) , hit F2, the treenode displays Item1 instead of Item2
If you don't Press F2 in step1, it works fine. It looks like although the source is changed, when you hit F2, the content showing in F2 box is not refreshed. Please investigate.
Thanks,