Hi!
Is there a way to get a DragOver notification for the XamDataTree? I found the DataTree events NodeDraggingStart, NodeDragDrop and NodeDragEnd but no NodeDragOver event. We have to apply a special business logic that controls the drag drop behaviour (e.g. if drop is allowed at all).
I tried the default WPF Control Events, but non of them was fired.
Kind regards,
Dominik Hasiwar
Hi,
I have the same issue. I am using the drag and drop framework from Infragistics in the tree and there are events for achieving your goal. However, the built-in features in the tree's drag and drop for scroll, the indicator for before/after, auto-expansion, etc. have to be implemented manually and it is very difficult to do so.
Is there any support for.the same events in the tree's drag and drop?
Can some one replay on the last issue raised by Kabinad? Thank you.
Hi Krasimir,
I checked your suggested solution and even run the sample project. Here is the problem with this approach :
Creating custom drag and drop within each of the xamdatatreenodecontrols brakes xamdatatree hover-over expansion and scrolling behavior .This is because the xamdatatree uses the infragistics dragDropFramework internally.
Can you modify your sample project that also works with xamdatatree hover-over expansion and scrolling behavior?
Thanks ,
kabinad
Hello,
I am just checking if you require any further assistance on the matter.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics
www.infragistics.com/support
The XamDataTree currently does not expose a NodeDragOver event, so I have created a sample application which shows an approach for the achieving that functionality. In order to do that you can re-template the XamDataTreeNodeControl and implement you custom drag and drop functionality using the Infragistics Drag and Drop Framework. When setting the DragSource attached property for the XamDataTreeNodeControl you can handle the DragOver event and perform the necessary operations in the event handler.
If you need any further assistance please do not hesitate to ask.