Table of Contents

Class ClipboardBase

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Shared abstract class to enforce rules from the implementation of the IClipboard interface.

public abstract class ClipboardBase : IClipboard
Inheritance
ClipboardBase
Implements
Derived
Inherited Members

Properties

IsSupported

Returns true if the environmental dependencies are in place to interact with the OS clipboard

Methods

GetClipboardData()

Returns the contents of the OS clipboard if possible.

GetClipboardDataImpl()

Returns the contents of the OS clipboard if possible. Implemented by ConsoleDriver-specific subclasses.

SetClipboardData(string)

Pastes the text to the OS clipboard if possible.

SetClipboardDataImpl(string)

Pastes the text to the OS clipboard if possible. Implemented by ConsoleDriver-specific subclasses.

TryGetClipboardData(out string)

Copies the contents of the OS clipboard to result if possible.

TrySetClipboardData(string)

Pastes the text to the OS clipboard if possible.