The following code snippets demonstrate the code used for clipboard functions:
Copy
C# |
Copy Code
|
---|---|
rtb.ClipboardCopy();
Paste
if(!rtb.IsReadOnly)
{
rtb.ClipboardPaste();
}
|
Cut
Example Title |
Copy Code
|
---|---|
if(rtb.IsReadOnly) rtb.ClipboardCopy(); else { rtb.ClipboardCut(); } |