Skip to main content

GetDataAsync Method

Retrieves data in a specified format from the Clipboard.

Definition

Namespace: Avalonia.Input.Platform
Assembly: Avalonia.Base (in Avalonia.Base.dll)

Task<Object?> GetDataAsync(
string format
)
View Source

Parameters

  String
A string that specifies the format of the data to retrieve. For a set of predefined data formats, see the DataFormats class.

Return Value

Task(Object)

See Also

Reference

IClipboard Interface
Avalonia.Input.Platform Namespace