title: WPF TextBox's IsInactiveSelectionHighlightEnabled property is not work?
body: <p>WPF's TextBox has a property named IsInactiveSelectionHighlightEnabled. I set this property to true in order to make a TextBox always show selection. However, it doesn't work in this case:
  <a href="https://i.stack.imgur.com/o2PnH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/o2PnH.png" alt="enter image description here"></a></p>
  
  <pre><code>    private void button_Click(object sender, RoutedEventArgs e) {
          textBox.Select(0, 10);
      }
  </code></pre>
  
  <p>I just want to see the selection after clicking the button. But selection will not appear until I right click the TextBox. Why? Am I miss something?</p>