The next article from Gill Cleeren's Advent Calendar article series is focused on using the Clipboard in Silverlight 4.
Silverlight 4 has the ability to copy text to the clipboard, check if there is text available on the clipboard and paste the text from the clipboard back to the Silverlight application. To support this, it has 3 static methods available on the newly added ClipBoard class:
- Clipboard.SetText()
- Clipboard.ContainsText()
- Clipboard.GetText()
Let’s look at using these in a sample.