I am using Rich Text object in my C# application. The only issue I am having is that when user pastes formated text from another app, it remains formated which I cannot have. Is
Add a handler to the KeyDown-event to intercept the standard paste and manually insert only the plain text:
KeyDown
private void rtb_KeyDown(object sender, KeyEventArgs e) { if (e.Control && e.KeyCode == Keys.V) { ((RichTextBox)sender).Paste(DataFormats.GetFormat("Text")); e.Handled = true; } }