title: TextBox with image icon in WPF
body: <p>I want to create <code>TextBox</code> with image in it. This is what I have tried:</p>
  
  <pre><code>&lt;DockPanel Grid.Row="1" Grid.Column="1" Margin="5" &gt;
      &lt;Image DockPanel.Dock="Left" Source="D:\my_backup\WPF\SALIENT\SALIENT\Images\d2.PNG" Width="20" Height="20"&gt;&lt;/Image&gt;
          &lt;TextBox  Text="test" FontSize="16" HorizontalAlignment="Stretch" Background="Transparent"                                    
          &lt;/TextBox&gt;
  &lt;/DockPanel&gt;
  </code></pre>
  
  <p>this gives me output like this: <a href="https://i.stack.imgur.com/Ir8rL.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Ir8rL.png" alt="img"></a></p>
  
  <p>but i want the image inside <code>TextBox</code> like this<a href="https://i.stack.imgur.com/CRUMQ.png" rel="noreferrer"><img src="https://i.stack.imgur.com/CRUMQ.png" alt="img"></a></p>
  
  <p>anyone can help?</p>