# C1.C1Preview.DataBinding.C1DataBinding.IsParentFor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_DataBinding_C1DataBinding_IsParentFor_" data-uid="C1.C1Preview.DataBinding.C1DataBinding.IsParentFor*">IsParentFor Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_DataBinding_C1DataBinding_IsParentFor_" data-uid="C1.C1Preview.DataBinding.C1DataBinding.IsParentFor*"></a>
<h4 id="C1_C1Preview_DataBinding_C1DataBinding_IsParentFor_C1_C1Preview_DataBinding_C1DataBinding_" data-uid="C1.C1Preview.DataBinding.C1DataBinding.IsParentFor(C1.C1Preview.DataBinding.C1DataBinding)">IsParentFor(C1DataBinding)</h4>
<div class="markdown level1 summary"><p>Tests whether the current data binding object is a parent (or a grand- or
a deeper-level parent) of another object.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool IsParentFor(C1DataBinding dataBinding)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function IsParentFor(dataBinding As C1DataBinding) As Boolean</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.C1Preview.DataBinding.C1DataBinding.html">C1DataBinding</a></td>
      <td><span class="parametername">dataBinding</span></td>
      <td><p>The <a class="xref" href="C1.C1Preview.DataBinding.C1DataBinding.html">C1DataBinding</a> object that is tested for being a child of the current object.</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="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p><b>true</b> if the current object is a parent of the passed object, <b>false</b> otherwise.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
