RichTextBox for WinRT
Clipboard Functions

The following code snippets demonstrate the code used for clipboard functions:

Copy

C#
Copy Code
rtb.ClipboardCopy();

 

Paste

C#
Copy Code
if (!rtb.IsReadOnly)
{
    rtb.ClipboardPaste();
}

Cut

C#
Copy Code
if (rtb.IsReadOnly)
    rtb.ClipboardCopy();
else
{
    rtb.ClipboardCut();
}

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback