Export (0) Print
Expand All

Clipboard.ContainsText Method

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

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

public static bool ContainsText()

Return Value

Type: System.Boolean
true if the system clipboard contains Unicode text data; otherwise, false.

ContainsText can be invoked from any context and is not limited a context that is determined by the Silverlight runtime to be in response to a user-initiated action.

Silverlight

Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft