Skip to main content

GetTextAsync Method

Returns a string containing the text data on the Clipboard.

Definition

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

Task<string?> GetTextAsync()
View Source

Return Value

Task(String)
A string containing text data in the specified data format, or an empty string if no corresponding text data is available.

See Also

Reference

IClipboard Interface
Avalonia.Input.Platform Namespace