title: How to set background opacity and border opacity in XAML?
body: <p>I have a <code>TextBox</code>:</p>
  
  <pre><code>&lt;TextBox x:Name="myTextBox"/&gt;
  </code></pre>
  
  <p>The <code>TextBox</code> in code behind has two booleans:</p>
  
  <pre><code> myTextBox.Background.Opacity = 0;
   myTextBox.BorderBrush.Opacity = 0;
  </code></pre>
  
  <p>Now this is all good and dandy, but how do I set these two properties in XAML?</p>
  
  <p>Btw, setting:</p>
  
  <pre><code>&lt;TextBox x:Name="myTextBox" Background="#00FFFFFF"/&gt;
  </code></pre>
  
  <p>Does not effect the <code>Opacity</code> property. I'd like to specifically set that opacity property in XAML.</p>