WPF TextBox - don't hide the selection

Posted by Justin R on Stack Overflow See other posts from Stack Overflow or by Justin R
Published on 2010-05-16T21:59:42Z Indexed on 2010/05/16 22:10 UTC
Read the original article Hit count: 144

Filed under:

WPF's TextBox (System.Windows.Controls.TextBox) appears to highlight selected text only when it has the focus. I need to make a TextBox continue to show the selection when focus is lost.

In a standard Win32 EDIT control I could achieve this with ES_NOHIDESEL. How can I get the equivalent in WPF?

© Stack Overflow or respective owner

Related posts about wpf