# C1.Framework.TabElement.GetParentTab

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Framework_TabElement_GetParentTab_" data-uid="C1.Framework.TabElement.GetParentTab*">GetParentTab Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Framework_TabElement_GetParentTab_" data-uid="C1.Framework.TabElement.GetParentTab*"></a>
<h4 id="C1_Framework_TabElement_GetParentTab_C1_Framework_Element_" data-uid="C1.Framework.TabElement.GetParentTab(C1.Framework.Element)">GetParentTab(Element)</h4>
<div class="markdown level1 summary"><p>Gets the TabPageElement that contains a given child element.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public TabPageElement GetParentTab(Element childElement)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function GetParentTab(childElement As Element) As TabPageElement</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="C1.Framework.Element.html">Element</a></td>
      <td><span class="parametername">childElement</span></td>
      <td><p>Child element in the Tab.</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.Framework.TabPageElement.html">TabPageElement</a></td>
      <td><p>The TabPageElement that contains the given child element, or
null if the element does not belong to any tab pages.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
