title: WPF textbox with image
body: <p>I'm doing a WPF login interface. In my login panel, I have one login <code>TextBox</code> and a <code>PasswordBox</code>. As what shown in the first image below, there is a little human logo in the login textbox and a lock in the password box. I set the image into the textbox background, and then when i try to insert some word into the login box, the words will overide the human logo(image B). Any advice to make it right?</p>
  
  <p>My XAML:</p>
  
  <pre><code> &lt;TextBox Width="380" Height="25" HorizontalAlignment="Center"  Foreground="WhiteSmoke" BorderBrush="Transparent" &gt;
       &lt;TextBox.Background&gt;
         &lt;ImageBrush ImageSource="/icon/user_login.png" AlignmentX="Left" Stretch="None"&gt;&lt;/ImageBrush&gt;
       &lt;/TextBox.Background&gt;
   &lt;/TextBox&gt;
  </code></pre>
  
  <p>Image A:</p>
  
  <p><img src="https://i.stack.imgur.com/IzKP1.jpg" alt="enter image description here"></p>
  
  <p>Image B:</p>
  
  <p><img src="https://i.stack.imgur.com/4iyFe.jpg" alt="enter image description here"></p>