IAsyncDataTransferItem Interface
Represent an item inside a IAsyncDataTransfer. An item may support several formats and can return the value of a given format on demand.
Definition
Namespace: Avalonia.Input
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public interface IAsyncDataTransferItem
Public Interface IAsyncDataTransferItem
type IAsyncDataTransferItem = interface end
Properties
| Formats | Gets the formats supported by this item. |
Methods
| TryGetRawAsync(DataFormat) | Tries to get a value for a given format. |
Extension Methods
| Contains(DataFormat) | Gets whether a IAsyncDataTransferItem supports a specific format. (Defined by AsyncDataTransferItemExtensions) |
| TryGetBitmapAsync() | Returns a bitmap, if available, from a IAsyncDataTransferItem instance. (Defined by AsyncDataTransferItemExtensions) |
| TryGetFileAsync() | Returns a file, if available, from a IAsyncDataTransferItem instance. (Defined by AsyncDataTransferItemExtensions) |
| TryGetTextAsync() | Returns a text, if available, from a IAsyncDataTransferItem instance. (Defined by AsyncDataTransferItemExtensions) |
| TryGetValueAsync(T)(DataFormat(T)) | Tries to get a value for a given format from a IAsyncDataTransferItem. (Defined by AsyncDataTransferItemExtensions) |