Skip to main content

SetTextAsync Method

Stores text data on the Clipboard. The text data to store is specified as a string.

Definition

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

Task SetTextAsync(
string? text
)
View Source

Parameters

  String
A string that contains the UnicodeText data to store on the Clipboard.

Return Value

Task

Exceptions

ArgumentNullExceptiontext is null.

See Also

Reference

IClipboard Interface
Avalonia.Input.Platform Namespace