Posted 24 Aug 2017 Link to this post
Posted 31 Aug 2017 in reply to Valentino Link to this post
ok, I had seen DragDropService_PreviewDragDrop earlier but somehow forgot about it.
Anyway, I've implemented it but mu dropTarget.Shapes collection is always empty.. Why would that be.
I'll probably lodge a ticket now that I have been assigned a login.
Posted 04 Sep 2017 Link to this post
public
RadForm1()
{
InitializeComponent();
radDiagramToolbox1.ListViewElement.DragDropService.PreviewDragDrop += DragDropService_PreviewDragDrop;
}
void
DragDropService_PreviewDragDrop(
object
sender, Telerik.WinControls.RadDropEventArgs e)
var diagramElement = e.HitTarget
as
RadDiagramElement;
if
(diagramElement !=
null
)
Console.WriteLine(diagramElement.Items.Count);