# C1.Win.C1DynamicHelp.UIElementResolver.GetUIElementInfo

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_C1DynamicHelp_UIElementResolver_GetUIElementInfo_" data-uid="C1.Win.C1DynamicHelp.UIElementResolver.GetUIElementInfo*">GetUIElementInfo Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_C1DynamicHelp_UIElementResolver_GetUIElementInfo_" data-uid="C1.Win.C1DynamicHelp.UIElementResolver.GetUIElementInfo*"></a>
<h4 id="C1_Win_C1DynamicHelp_UIElementResolver_GetUIElementInfo_System_Object_" data-uid="C1.Win.C1DynamicHelp.UIElementResolver.GetUIElementInfo(System.Object)">GetUIElementInfo(object)</h4>
<div class="markdown level1 summary"><p>This method returns a <a class="xref" href="C1.Win.C1DynamicHelp.UIElementInfo.html">UIElementInfo</a> object containing the name and parent of the UI element.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected virtual UIElementInfo GetUIElementInfo(object uiElement)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overridable Function GetUIElementInfo(uiElement As Object) As UIElementInfo</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">uiElement</span></td>
      <td><p>A UI element for which the <a class="xref" href="C1.Win.C1DynamicHelp.UIElementInfo.html">UIElementInfo</a> object is requested.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.Win.C1DynamicHelp.UIElementInfo.html">UIElementInfo</a></td>
      <td><p>A <a class="xref" href="C1.Win.C1DynamicHelp.UIElementInfo.html">UIElementInfo</a> object containing information for the <code class="paramref">uiElement</code></p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_Win_C1DynamicHelp_UIElementResolver_GetUIElementInfo_System_Object__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Typically, in this overridden method you check if this uiElement needs to be handled by you (is not a Control object, so C1DynamicHelp
cannot get this information automatically), in which case create an UIElementInfo object, set its properties and return that object,
otherwise simply call the method of the base class UIElementResolver: base.GetUIElementInfo(uiElement).</p>
</div>
</div>
