Freigeben über


DragDropHelper Class

Definition

Helper class for hooking up Drag and Drop operations with a specific drop target If no drop target is specified, the shell's main window drop target will be used by default, which allows handling file drop operations over the shell main's window

public ref class DragDropHelper
[Windows::Foundation::Metadata::WebHostHidden]
class DragDropHelper
public class DragDropHelper
type DragDropHelper = class
Public Class DragDropHelper
Inheritance
DragDropHelper

Constructors

DragDropHelper(IInputElement, IDropTarget)

Microsoft internal use only.

DragDropHelper(IInputElement)

Microsoft internal use only.

Methods

ConvertToOleDataObject(IDataObject)

Creates a new IDataObject given a IDataObject.

DataObjectHasString(IDataObject)

Checks if the data object contains one of the recognized strings data formats

GetStringFromDataObject(IDataObject)

Try to extract a string from the given IDataObject. Returns the string if the data object contains one of the recognized strings data formats, otherwise returns null.

OnDragEnter(DragEventArgs)

Microsoft internal use only.

OnDragLeave(RoutedEventArgs)

Microsoft internal use only.

OnDragOver(DragEventArgs)

Microsoft internal use only.

OnDrop(DragEventArgs)

Microsoft internal use only.

Applies to