Skip to main content

TryGetInProcessDataObjectAsync Method

If clipboard contains the IDataObject that was set by a previous call to SetDataObjectAsync(IDataObject), return said IDataObject instance. Otherwise, return null. Note that not every platform supports that method, on unsupported platforms this method will always return null

Definition

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

Task<IDataObject?> TryGetInProcessDataObjectAsync()
View Source

Return Value

Task(IDataObject)

See Also

Reference

IClipboard Interface
Avalonia.Input.Platform Namespace