DataTransferService Methods
Click or drag to resize
DataTransferService Methods

The DataTransferService type exposes the following members.

Methods
  NameDescription
Public methodCreateImage
The transformation of image stream data to an image.
Public methodCreateShapeFromImage(Image)
Public methodCreateShapeFromImage(Image)
Creates a diagram shape for the given image.
Public methodHandleDrop
Handles the transfer of data when there is a dragdrop action. This can be both an internal dragdrop (from one control to another within the same application) as well as an external dragdrop (from one application to another or from the file system to an application).
Public methodHandlePaste
Handles the transfer of data when a copy-paste or cut-paste was performed.
Public methodTryGetDiagramSerializationInfo(String, SerializationInfo)
Attempts to fetch the SerializationInfo from the string which supposedly contains a serialized diagram as XML.
Public methodTryGetDiagramSerializationInfo(DataObject, SerializationInfo)
Attempts to fetch the "SerializationInfo" from the Windows.DragDrop.DragEventArgs.Data.
Public methodTryGetDiagramSerializationInfo(DragEventArgs, SerializationInfo)
Attempts to fetch the "SerializationInfo" from the "Windows.DragDrop.DragEventArgs.Data".
Top
See Also