IDataTransfer Interface
Definition
Represents an object providing a list of Avalonia.Input.IDataTransferItem usableduring a drag and drop operation.
public interface IDataTransfer
Remarks
When an implementation of this interface is used as a drag source using Avalonia.Input.DragDrop.DoDragDropAsync(Avalonia.Input.PointerPressedEventArgs,Avalonia.Input.IDataTransfer,Avalonia.Input.DragDropEffects), it must NOT be disposed by the caller. The system will dispose of it automatically when the drag operation completes.
See also
Properties
| Name | Description |
|---|---|
| Formats | Gets the formats supported by a Avalonia.Input.IDataTransfer. |
| Items | Gets a list of Avalonia.Input.IDataTransferItem contained in this object. |