-1

How to find and highlight the search result in the WPF multiline text box?

user2956667
  • 61
  • 2
  • 7

1 Answers1

0
textbox.SelectionStart = 0;
textbox.SelectionLength = textbox.Text.Length;
Sajeetharan
  • 216,225
  • 63
  • 350
  • 396