Share via


IClipboard Interface

Definition

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

public interface class IClipboard
public interface IClipboard
type IClipboard = interface
Public Interface IClipboard

Properties

Name Description
HasText

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

Methods

Name Description
GetTextAsync()

Returns any text that is on the clipboard.

SetTextAsync(String)

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

Events

Name Description
ClipboardContentChanged

Occurs when the clipboard content changes.

Applies to