title: Programmatically Add a Border to a StackPanel in Windows 8
body: <p>I'm trying to set the following properties in the C# code behind of StackPanel that I need to add programmatically:</p>
  
  <pre><code>BorderThickness
  BorderBrush
  </code></pre>
  
  <p>Any idea on how to set these programmatically?</p>