I have a RadTreeView bound to a datasource (ObservableCollection<MyType>). When a child is dragged I want to show the child and its immediate parent hierarchy in the dragcue. This chain may be a few levels deep.
So for example if I select child c3 (with parent b3 who has parent a3) I would like the dragcue to show a treeview with
--a3
-- b3
-- c3
This tree would actually be the same if I were to start by selecting a3 or b3. So in short I am dragging the entire local hierarchy.
I have the radtreeview and data structure for the dragcue implemented and loaded into a content control. My problem is that the tree is collapsed even though I call ExpandAll() on the dragcue treeview. I am using a HierarchicalDataTemplate and the treeiview appears to know that it has children (there is a drop down indicator indcating that there is another level).
It looks like the RadTreeView wants to do the right thing but I am missing something.
Is what I am trying to do possible?
Thank you,
Paul
So for example if I select child c3 (with parent b3 who has parent a3) I would like the dragcue to show a treeview with
--a3
-- b3
-- c3
This tree would actually be the same if I were to start by selecting a3 or b3. So in short I am dragging the entire local hierarchy.
I have the radtreeview and data structure for the dragcue implemented and loaded into a content control. My problem is that the tree is collapsed even though I call ExpandAll() on the dragcue treeview. I am using a HierarchicalDataTemplate and the treeiview appears to know that it has children (there is a drop down indicator indcating that there is another level).
It looks like the RadTreeView wants to do the right thing but I am missing something.
Is what I am trying to do possible?
Thank you,
Paul