How can I select multiple text segments in a WPF textbox?

Posted by luvieere on Stack Overflow See other posts from Stack Overflow or by luvieere
Published on 2010-05-13T05:35:47Z Indexed on 2010/05/13 5:44 UTC
Read the original article Hit count: 353

Filed under:
|
|
|

Is it possible to select multiple parts of text within a WPF textbox? For instance, for a textbox that contains the string THIS IS A TEST, I want to be able to highlight THIS, then hold Ctrl and highlight TEST without unselecting THIS.

For a visual clue about what I'm aiming at, see this article about the feature in Firefox.

© Stack Overflow or respective owner

Related posts about c#

Related posts about wpf