private void PopButton_Click(object sender, RoutedEventArgs e) { var newPara = new Paragraph(); newPara.Inlines.Add(new Run { Text = Clipboard.GetText() }); this.rightRichTextArea.Blocks.Add(newPara); } private void PushButton_Click(object sender, RoutedEventArgs e) { Clipboard.SetText(this.leftRichTextArea.Selection.Text); }
Friday, December 04, 2009
Five Minute Silverlight 4 Aides-Memoire #4 – Clipboard Access
Labels:
.NET,
C#,
Clipboard,
Silverlight 4 Beta
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment