Hi Uma,
thats great if
dropInfo.Data is List<ClipboardItem> clipboardItems
however what if if it is a mapMember or layer?
var mm = dropInfo.GetTOCContent();//extension method - returns all MapMembers being dropped
//get just feature layers, for example
var layers = dropInfo.GetTOCContentOfType<FeatureLayer>()
I tried with the following:
layers[0].getFeatureClass().getDataStore().getPath() however I get a funny temporary sde connection in my temp folder.
Thanks in advance