Share via


Clipboard Class

Definition

Provides a way to work with text on the device clipboard.

public ref class Clipboard abstract sealed
public static class Clipboard
type Clipboard = class
Public Class Clipboard
Inheritance
Clipboard

Properties

Default

Provides the default implementation for static usage of this API.

HasText

Gets a value indicating whether there is any text on the clipboard.

Methods

GetTextAsync()

Returns any text that is on the clipboard.

SetTextAsync(String)

Sets the contents of the clipboard to be the specified text.

Events

ClipboardContentChanged

Occurs when the clipboard content changes.

Applies to