title: How do I programmatically read the value of an attached dependency property?
body: <p>So I have a Button with an AutomationId (used by Microsoft UI Automation) like so:</p>
  
  <pre><code>&lt;Button Name="myButton" AutomationId="myButtonAutomationID" 
  </code></pre>
  
  <p>Programmatically, I have the button (myButton) in code, how do I get the value of the 'AutomationId' property attached to that button?</p>