wpf textbox insert text at caret position code example
Example: wpf textbox insert text at caret position
textBox.Text = textBox.Text.Insert(textBox.CaretIndex, "<new text>");
textBox.Text = textBox.Text.Insert(textBox.CaretIndex, "<new text>");