Hi,
I have been working on a project with TreelistView and DragDropManager.
I have a treelistview and i want to drag and drop the items in it.
For example, my treelistview items are like that.
Main_1
- Sub 1_1
- Sub 1_2
Main_2
- Sub 2_1
- Sub 2_2
- Sub 2_3
and i want to drag (Sub 2_2) from (Main_2) to (Main_1). But i can't find the drop position of dragging item, and how can i use this drop position to find the item which dragging item is dropped on.
One more question:
var item = (args.OriginalSource as FrameworkElement).ParentOfType<???????>() -->> What is the correct type for treelistview.
a basic example could help me.
with kind regards
I have been working on a project with TreelistView and DragDropManager.
I have a treelistview and i want to drag and drop the items in it.
For example, my treelistview items are like that.
Main_1
- Sub 1_1
- Sub 1_2
Main_2
- Sub 2_1
- Sub 2_2
- Sub 2_3
and i want to drag (Sub 2_2) from (Main_2) to (Main_1). But i can't find the drop position of dragging item, and how can i use this drop position to find the item which dragging item is dropped on.
One more question:
var item = (args.OriginalSource as FrameworkElement).ParentOfType<???????>() -->> What is the correct type for treelistview.
a basic example could help me.
with kind regards