title: How to make background transparent in WPF DatePicker
body: <p>I am trying to make a DatePicker background transparent in wpf but  I can't get rid of this white line. Does any one knows how it is called so I can make it transparent? I painted background blue and border red so the white line is visible to troubleshoot. the end result will not have the white line across the text in the lower right image below.
  i use this line of code to assign the colors</p>
  <pre><code> &lt;DatePickerTextBox x:Name=&quot;PART_TextBox&quot;  Grid.Column=&quot;0&quot; Background=&quot;Blue&quot; BorderBrush=&quot;red&quot; BorderThickness=&quot;2&quot;  Opacity=&quot;{Binding Path=MinHeight, ElementName=placeholder}&quot;  Focusable=&quot;{TemplateBinding Focusable}&quot; HorizontalContentAlignment=&quot;Stretch&quot; Grid.Row=&quot;0&quot; VerticalContentAlignment=&quot;Stretch&quot;/&gt;
                
  </code></pre>
  <p><a href="https://i.stack.imgur.com/OGDx4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OGDx4.png" alt="enter image description here" /></a></p>