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
30
Drag & Drop from XamTree to XamDayView
posted

Hi,

I have a XamDayView XamTree and I am trying to implement Drag & Drop functionality between XamTree and XamDayView but I have some problems:

In the XamTree I have defined a follows DragSource


<ig:DragDropManager.DragSource>
 <ig:DragSource x:Name="treeDragSource" IsDraggable="True" DragChannels="ChannelB" DragStart="DragSource_DragStart" Drop="DragSource_Drop"></ig:DragSource>
</ig:DragDropManager.DragSource>


and in the XamDayView I have defined a follows DropTarget


<ig:DragDropManager.DropTarget>
                <ig:DropTarget IsDropTarget="True" DropChannels="ChannelB" DropTargetMarkerBrush="Azure"></ig:DropTarget>               
</ig:DragDropManager.DropTarget>



I can drag an item from XamTree to XamDayView without any problem, I want to drag an item to a specific day and time of XamDayView and add an appointment.
The problem I have is that I can not get the date / time on which dragged the XamTree item.

How I can do this?

Regards,