Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1465
XamDataTree dragging to another user control
posted

Hi.

I have looked at the following post but it is not doing what I want.

 

http://ko.infragistics.com/community/forums/p/72171/365708.aspx#365708

 

I am trying to allow nodes in a XamDataTree, either parent or child to be dragged to another control, such as a standard WPF ListBox. So far we have tried:

  •  Setting the IsDraggable=True property on the XamDataTree, and/or IsDraggable=True on the NodeLayout, does not actually permit dragging to another control. Is this a correct approach for drag-drop between components?
  • We have tried using the DragDropManager. DragSource at the XamDataTree level, but means that the entire tree is dragged, making it difficult to bind a NodeLayout DragTemplate to the actual item that is being dragged. How could we do this in a cleaner way?
  • Alternatively, can we use a DragDropManager.DragSource in the NodeLayout.ItemTemplate to get finer grained context of what is being dragged?

 

 

Parents
No Data
Reply Children