views:

22

answers:

0

I have a treeview and a datagrid. When I select an item on my datagrid, I want to set the selectedItem on my treeview to null, and when I select an item on my treeview I want to set the selectedItem on my datagrid to null.

I'd also like to have a central FocussedItem notification property that both the treeview and datagrid update with their own respective SelectedItem properties.

I think that AttachedBehaviours are the way to go, but have got myself in a knot trying to figure where they should/could be added, and what should/could be referenced :-(

Any ideas?
Thanks, Mark

related questions