Since 1.11 it is possible to obtain extended data about the dragged files. It is possible to work with data through the IDataObject instance. To turn this feature on, you should set the Chromium switch "--enable-com-in-drag-drop" to enable COM object transfer.


The following sample code demonstrates how to handle OnDragEnterEvent and work with the bound IDataObject instance:


private void OnDragEnterEvent(object sender, DragDropEventArgs e)
{
    filenames = null;
    //Check if the source COM object present
    if (e.DataObject != null)
    {
        //Create System.Windows.DataObject for source COM IDataObject
        DataObject dataObject = new DataObject(e.DataObject);

        //Create Outlook wrapper
        OutlookDataObject dataObject = new OutlookDataObject(dataObject);

        //Get needed data
        filenames = (string[])dataObject.GetData("FileGroupDescriptorW");
    }
}



Note: The IDataObject instance exists only in the scope of the DragEnterEvent handler. For the DropEvent and  DragExitEvent the e.DataObject property is expected to return null.