private void On_Drop(object sender, DragEventArgs e) { var data = e.Data.GetData(typeof(DragProcessor.DragElement)) as DragProcessor.DragElement; if (data == null || data.FirstElement == null) { return; } if (data.FirstElement.GetType() == typeof(Node)) { DragProcessor.DoDrag(sender, e); e.Handled = true; } }
private void Tag00_OnDrop(object sender, DragEventArgs e) { DragProcessor.DoDrag(this, e); }
private void On_Drop(object sender, DragEventArgs e) { DragProcessor.DoDrag(ctrlField, e); }