Table of Contents

Class PlessClipboardHandler

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Implements internal IClipboardHandler which is not connected to the operating system clipboard.

public class PlessClipboardHandler : DisposableObject, IBaseObjectWithId, IDisposableObject, IBaseObject, IClipboardHandler, IDisposable
Inheritance
PlessClipboardHandler
Implements

Properties

AsyncRequired

Gets whether async methods are required to use when working with the clipboard.

OnlyText

Gets whether only text format is supported by the clipboard.

Methods

Flush()

Flushes clipboard data so application leaves the data on the system clipboard when the application exits.

GetData()

Retrieves the data that is currently on the system clipboard, or null if there is no data on the clipboard.

GetDataAsync()

Retrieves the data that is currently on the system clipboard, or null if there is no data on the clipboard. Operation is performed asynchroniously.

GetDataAsync(Action<IDataObject?>)

Retrieves the data that is currently on the system clipboard, or null if there is no data on the clipboard. Operation is performed asynchroniously.

HasFormat(ClipboardDataFormatId)

Indicates whether there is data on the Clipboard that is in the specified format.

HasFormat(string)

Indicates whether there is data on the Clipboard that is in the specified format.

SetData(IDataObject?)

Sets data to the clipboard.

SetDataAsync(IDataObject?)

Sets data to the clipboard asynchroniously.