Clipboard Methods

 

Namespace:   System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticClear()

Clears any data from the system Clipboard.

System_CAPS_pubmethodSystem_CAPS_staticContainsAudio()

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

System_CAPS_pubmethodSystem_CAPS_staticContainsData(String)

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

System_CAPS_pubmethodSystem_CAPS_staticContainsFileDropList()

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

System_CAPS_pubmethodSystem_CAPS_staticContainsImage()

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

System_CAPS_pubmethodSystem_CAPS_staticContainsText()

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

System_CAPS_pubmethodSystem_CAPS_staticContainsText(TextDataFormat)

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

System_CAPS_pubmethodSystem_CAPS_staticFlush()

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

System_CAPS_pubmethodSystem_CAPS_staticGetAudioStream()

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

System_CAPS_pubmethodSystem_CAPS_staticGetData(String)

Retrieves data in a specified format from the Clipboard.

System_CAPS_pubmethodSystem_CAPS_staticGetDataObject()

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

System_CAPS_pubmethodSystem_CAPS_staticGetFileDropList()

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

System_CAPS_pubmethodSystem_CAPS_staticGetImage()

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

System_CAPS_pubmethodSystem_CAPS_staticGetText()

Returns a string containing the UnicodeText data on the Clipboard.

System_CAPS_pubmethodSystem_CAPS_staticGetText(TextDataFormat)

Returns a string containing text data on the Clipboard.

System_CAPS_pubmethodSystem_CAPS_staticIsCurrent(IDataObject)

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

System_CAPS_pubmethodSystem_CAPS_staticSetAudio(Byte[])

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

System_CAPS_pubmethodSystem_CAPS_staticSetAudio(Stream)

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

System_CAPS_pubmethodSystem_CAPS_staticSetData(String, Object)

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

System_CAPS_pubmethodSystem_CAPS_staticSetDataObject(Object)

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

System_CAPS_pubmethodSystem_CAPS_staticSetDataObject(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.

System_CAPS_pubmethodSystem_CAPS_staticSetFileDropList(StringCollection)

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

System_CAPS_pubmethodSystem_CAPS_staticSetImage(BitmapSource)

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

System_CAPS_pubmethodSystem_CAPS_staticSetText(String)

Stores UnicodeText data on the Clipboard.

System_CAPS_pubmethodSystem_CAPS_staticSetText(String, TextDataFormat)

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

Return to top
Show: