Clipboard

The user can use the standard cut, copy, and paste shortcut keys (Ctrl+X, Ctrl+C, and Ctrl+V on Windows) from within controls such as the TextBox and the RichTextBox to cut, copy, and paste the selected text in the control to and from the host operating system's clipboard. However, prior to Silverlight 4, you could not cut, copy, or paste text to and from the clipboard programmatically.

Silverlight 4 finally introduced the Clipboard class (found in the System.Windows namespace) to enable you to do so. This class enables you to get the text currently on the clipboard by using its GetText method, set the text on the clipboard by using its SetText method, and query whether there is any text on the clipboard by using its ContainsText method. ...

Get Pro Business Applications with Silverlight 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.