System.Windows.Forms.DragEventArgs.Data Property

Gets the System.Windows.Forms.IDataObject that contains the data associated with this event.

Syntax

public IDataObject Data { get; }

Value

Documentation for this section has not yet been entered.

Remarks

In the body of your event handler, you can use the IDataObject.GetDataPresent(string, bool) method to determine whether the data matches the format requirements of the control onto which the data is being dragged. You also can specify whether you want to attempt to convert the data to meet your format requirements. If the dragged data meets your format requirements, use the IDataObject.GetData(string, bool) method to retrieve the data.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0