title: In Spy++, what value is the control's name?
body: <p>I'm using System.Windows.Automation to get some UI control text values from labels in a group box. I'm trying to use spy++ to get the control names I'm looking for. </p>
  
  <p><img src="https://i.stack.imgur.com/8SD8n.png" alt="enter image description here"></p>
  
  <pre><code>AutomationElement Root = AutomationElement.RootElement;
  AutomationElement MainForm = Root.FindFirst(TreeScope.Descendants,new PropertyCondition(AutomationElement.AutomationIdProperty,"control name im looking for"));
  </code></pre>
  
  <p>What value represents what I would be searching for? For example would I change it to...
      ...AutomationIdProperty,"Window 00031BB0"));</p>
  
  <p>I'm not sure what all the information given by spy++ actually represents.</p>
  
  <p>Thank you for any help!</p>