How to change the color of some words in a text box in WPF, dynamically at run-time? RRS feed

  • Question

  • I am trying to change the color of some words inside a text box in WPF, like text editors do, to highlight predefined keywords, such as While.

    Any help would be appreciated, Thanks in advance.

    Monday, July 16, 2018 1:39 PM