Consider the following `FlowDocument` inside a WPF `RichTextBox`:

```xml
<RichTextBox Width="150" FontSize="30">
  <FlowDocument>
    <Paragraph>
      <Run Text="abc"/>
      <InlineUIContainer>
        <Border BorderBrush="Black" BorderThickness="1" CornerRadius="4" Width="30" Height="20"/>
      </InlineUIContainer>
      <Run Text="def"/>
    </Paragraph>
  </FlowDocument>
</RichTextBox>

```

When I click on the `Border` it becomes highlighted in blue:

[![highlight](https://i.stack.imgur.com/bu8yG.png)](https://i.stack.imgur.com/bu8yG.png)

How can I prevent that? I would like it to position the caret instead, like this:

[![enter image description here](https://i.stack.imgur.com/9ztKX.png)](https://i.stack.imgur.com/9ztKX.png)

I have already tried the following properties without success:

* `IsHitTestVisible = false`
* `IsEnabled = false`
* `IsManipulationEnabled = false`
* `Focusable = false`
* `IsFocused = false`