# Clipboard Commands

The ToolStripMain class implements the usual Cut, Copy, and Paste clipboard commands in C1Editor for WinForms control.

## Content



The **ToolStripMain** class implements the usual _Cut_, _Copy_, and _Paste_ clipboard commands.

All clipboard commands are deferred to the [C1Editor](/componentone/api/win/online-richtexteditor/dotnet-framework-api/C1.Win.C1Editor.4.8/C1.Win.C1Editor.C1Editor.html) itself:

DOC-DETAILS-TAG-OPEN

DOC-SUMMARY-TAG-OPEN

To write code in C#

DOC-SUMMARY-TAG-CLOSE

```csharp
void Cut_Click(object sender, EventArgs e)
{
    Editor.Cut();
}
void Copy_Click(object sender, EventArgs e)
{
    Editor.Copy();
}
void Paste_Click(object sender, EventArgs e)
{
    Editor.PasteAsText(); //.Paste();
}
```

DOC-DETAILS-TAG-CLOSE

The C1Editor clipboard commands are simple and easy to use, like the ones in the regular **TextBox** and **RichTextBox** controls.

Notice that the **Paste** command is implemented with a call to the [PasteAsText](/componentone/api/win/online-richtexteditor/dotnet-framework-api/C1.Win.C1Editor.4.8/C1.Win.C1Editor.C1Editor.PasteAsText.html) command. This ensures that the text being pasted is not interpreted as XHTML.