# Editing Text

> Select, copy, undo, find and drag text in a Windows Forms TextControl: built-in keys and ribbon commands, and the C# API for your own menus and shortcuts.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Text Control .NET for Windows Forms > Document Editor > Editing Text
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-editor/editing-text/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-editor/editing-text/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-editor/editing-text/llms-full.txt

---

## On This Page

- [How Editing Works in TextControl](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-editor/editing-text/#how-editing-works-in-textcontrol)
- [Find the Right Page](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-editor/editing-text/#find-the-right-page)
- [Where to Start](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-editor/editing-text/#where-to-start)
- [Pages in This Section](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-editor/editing-text/#pages-in-this-section)

---

## In This Section

- [Clipboard Operations](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-editor/editing-text/clipboard/llms.txt): Add Cut, Copy and Paste to a Windows Forms menu with CanCopy, CanPaste and GetClipboardFormats, paste plain text only and load RTF with its page size.
- [Drag and Drop](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-editor/editing-text/drag-drop/llms.txt): Move text with the mouse, set AllowDrag, AllowDrop and DropFormats, and insert documents and images dropped from File Explorer in a Windows Forms TextControl.
- [Keyboard Shortcuts](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-editor/editing-text/keyboard-shortcuts/llms.txt): All built-in keys of the Windows Forms TextControl, a KeyDown handler for Ctrl+F, Ctrl+H and Insert, and a KeyPress handler that turns Enter into a line break.
- [Search and Replace](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-editor/editing-text/search-replace/llms.txt): Open the Find and Replace dialog boxes and sidebars of a Windows Forms TextControl, call Find with FindOptions and replace all matches in one undo step.
- [Selections and Caret Position](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-editor/editing-text/selections/llms.txt): Select and replace text in a Windows Forms TextControl with Selection and InputPosition, track the caret and find the line and character under the mouse.
- [Undo and Redo](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-editor/editing-text/undo-redo/llms.txt): Build Undo and Redo menu items with UndoActionName in Windows Forms, group changes with BeginUndoAction, clear the buffer after Load and turn off AllowUndo.

---

## Nearby

- **Previous:** [Document Properties](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-editor/properties/llms.txt)
- **Next:** [Selections and Caret Position](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-editor/editing-text/selections/llms.txt)
