Skip to content

MultiLineTextBox.EnterText method

Replaces a document range the way a user types over it: the caret lands at the end of the inserted text, undo returns to where the caret was, and EditableRegions is honored. ReplaceRange is the programmatic counterpart.

public void EnterText(int start, int length, string? text)