Hi Can anyone provide a sample on how to handle the Drop event of a custom item (not a file) on a Map or Scene? The Drag operation is initiated on the TreeView of a custom DockPane as specified in ProConcepts Framework · Esri/arcgis-pro-sdk Wiki · GitHub and seems to work just fine. That is, StartDrag() is called on dragging a TreeViewItem and the cursor receives the 'not droppable' effect, which is probably ok since the Drop target has not yet been defined. public void StartDrag(DragInfo dragInfo)
{
dragInfo.Data = "SELECTED LAYER...";
dragInfo.Effects = DragDropEffects.Move;
} Custom Drop handlers for files (with the specified extensions) can be defined in DAML (https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-Framework#custom-drop-handlers-in-daml😞 <insertHandler id="DragDropExample_ExcelDropHandler" className="ExcelDropHandler" dataTypes=".XLSX|.xlsx|.XLS|.xls" /> I couldn't find a way though to employ them for the Drop of a custom item. Is there another way to make the Map a Drop target for my TreeViewItem? Thanks!
... View more