Dear,
After experimenting some time with the rad controls I find them quite cool and capable of doing a lot of work for me. Thank you for creating this handy suite!
Nevertheless I found some difficulty in implementing my specific drag/drop scenario. I've attached my demo project. It consists of three UI components.
rad_wpf_demo1.zip
RadTreeview, green (tvA)
RadTreeListView, white (tlv)
RadTreeview, pink (tvB)
The goal is to edit the data in the tlv by just dragging/dropping from both treeviews.
The left treeview (tvA) is used for making structural changes to the treelistview by adding nodes to the tree.
The right treeview (tvB) is used for changing values to the treelistview by changing properties.
Question 1:
When items from tvB are dragged over tvB or tvA, the row highlights.
There is no row-highlighting when dragged over the treelistview. How can this be enabled ?
Question 2:
It is a requirement that items dragged from tvB (pink) can only be dropped ON a row in the tlv, and not in between.
Nodes dragged from tvA can be dropped before, on and after a row.
How can it be achieved to 'disable' the drop-preview-line for a single drag-source, whilst being enabled when dragging from another source ?
Question 3:
Items dragged from tvB (pink) are only allowed to be dropped on certain rows in the tlv. (Currently implemented as a bool property 'CanDrop'.)
How can it be achieved (visually) in the tooltip/dragqueue that dropping is (not)allowed based on data in the row ?
Thank you in advance,
-Joost
After experimenting some time with the rad controls I find them quite cool and capable of doing a lot of work for me. Thank you for creating this handy suite!
Nevertheless I found some difficulty in implementing my specific drag/drop scenario. I've attached my demo project. It consists of three UI components.
rad_wpf_demo1.zip
RadTreeview, green (tvA)
RadTreeListView, white (tlv)
RadTreeview, pink (tvB)
The goal is to edit the data in the tlv by just dragging/dropping from both treeviews.
The left treeview (tvA) is used for making structural changes to the treelistview by adding nodes to the tree.
The right treeview (tvB) is used for changing values to the treelistview by changing properties.
Question 1:
When items from tvB are dragged over tvB or tvA, the row highlights.
There is no row-highlighting when dragged over the treelistview. How can this be enabled ?
Question 2:
It is a requirement that items dragged from tvB (pink) can only be dropped ON a row in the tlv, and not in between.
Nodes dragged from tvA can be dropped before, on and after a row.
How can it be achieved to 'disable' the drop-preview-line for a single drag-source, whilst being enabled when dragging from another source ?
Question 3:
Items dragged from tvB (pink) are only allowed to be dropped on certain rows in the tlv. (Currently implemented as a bool property 'CanDrop'.)
How can it be achieved (visually) in the tooltip/dragqueue that dropping is (not)allowed based on data in the row ?
Thank you in advance,
-Joost