Microsoft Clipboard On

The Clipboard task pane appears on the left side of your spreadsheet and shows all clips in the clipboard. To clear the entire clipboard, click the Clear All button. To delete an individual clip, hover next to the clip, click the arrow to the right of the clip, and click Delete. A subscription to make the most of your time. Other devices can only access the clipboard through a keyboard app. For the purposes of this guide, we’ll be focusing on using the clipboard with a keyboard app. This method will work on any Android device. First, you’ll need a keyboard app that has a clipboard feature. Two popular choices are Google’s Gboard and Microsoft’s SwiftKey. The clipboard isn't a file. Its contents are stored in the computer's memory. To use its contents, simply go to the program you want to use it in, click the place where you want it to be put, and press Ctrl-V (paste).

  1. Microsoft Clipboard Android App
  2. Microsoft Clipboard Shortcut
-->

Definition

Important

Microsoft

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Provides static methods that facilitate transferring data to and from the system Clipboard.

Inheritance
Clipboard

Microsoft Clipboard Android App

Examples

The following example shows how to add data to the system Clipboard.

Remarks

All applications for Windows share the system Clipboard, so the contents are subject to change when you switch to another application.

For a list of predefined formats available to use with the Clipboard class, see the DataFormats class.

Security Alert: For security purposes, the following points should be kept in mind.

  • Paste operations need to be user initiated (Ctrl-V, Paste Menu).

  • Copy can only be on user selected content.

  • On copy or cut, partial trust code puts plaintext and Extensible Application Markup Language (XAML) on to the clipboard. Plaintext includes text, Unicode text, OEM (Object Exchange Model) text, and CSV (Comma-separated values).

  • On paste, Windows Presentation Foundation (WPF) will paste in Extensible Application Markup Language (XAML) if the source of that content is from a equally trusted or more trusted site. Specifically:

    • A partial trust application can paste Extensible Application Markup Language (XAML) from a full trust application.

    • A partial trust application can paste Extensible Application Markup Language (XAML) from a partial trust application.

    • A full trust application can paste XAML only from another fully trusted application.

    • A non-Windows Presentation Foundation (WPF) full trust application can examine the ApplicationTrust format on the clipboard and sanitize the XAML if appropriate.

Methods

Clear()

Clears any data from the system Clipboard.

ContainsAudio()

Queries the Clipboard for the presence of data in the WaveAudio data format.

ContainsData(String)

Queries the Clipboard for the presence of data in a specified data format.

ContainsFileDropList()

Queries the Clipboard for the presence of data in the FileDrop data format.

ContainsImage()

Queries the Clipboard for the presence of data in the Bitmap data format.

ContainsText()

Queries the Clipboard for the presence of data in the UnicodeText format.

ContainsText(TextDataFormat)

Queries the Clipboard for the presence of data in a text data format.

Flush()

Permanently adds the data that is on the Clipboard so that it is available after the data's original application closes.

GetAudioStream()

Returns a stream of Clipboard data in the WaveAudio data format.

GetData(String)

Retrieves data in a specified format from the Clipboard.

GetDataObject()

Returns a data object that represents the entire contents of the Clipboard.

GetFileDropList()

Returns a string collection that contains a list of dropped files available on the Clipboard.

GetImage()

Returns a BitmapSource object from the Clipboard that contains data in the Bitmap format.

GetText()

Returns a string containing the UnicodeText data on the Clipboard.

GetText(TextDataFormat)

Returns a string containing text data on the Clipboard.

IsCurrent(IDataObject)

Compares a specified data object to the contents of the Clipboard.

SetAudio(Byte[])

Stores audio data (WaveAudio data format) on the Clipboard. The audio data is specified as a byte array.

SetAudio(Stream)

Stores audio data (WaveAudio data format) on the Clipboard. The audio data is specified as a stream.

SetData(String, Object)

Stores the specified data on the Clipboard in the specified format.

SetDataObject(Object)

Places a specified non-persistent data object on the system Clipboard.

SetDataObject(Object, Boolean)

Places a specified data object on the system Clipboard and accepts a Boolean parameter that indicates whether the data object should be left on the Clipboard when the application exits.

SetFileDropList(StringCollection)

Stores FileDrop data on the Clipboard. The dropped file list is specified as a string collection.

SetImage(BitmapSource)

Stores Bitmap data on the Clipboard. The image data is specified as a BitmapSource.

SetText(String)

Stores UnicodeText data on the Clipboard.

SetText(String, TextDataFormat)

Stores text data on the Clipboard in a specified text data format. The UnicodeText data to store is specified as a string.

Microsoft Clipboard Shortcut

Applies to

See also