# C1.WPF.VTreeHelper

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_VTreeHelper" data-uid="C1.WPF.VTreeHelper" class="text-break">VTreeHelper Class
</h1>
  <div class="markdown level0 summary"><p>The <a class="xref" href="C1.WPF.VTreeHelper.html">VTreeHelper</a> class provides utility methods that perform common tasks involving nodes in a visual tree.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">VTreeHelper</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.html">C1.WPF</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.4.6.2.dll</h6>
  <h5 id="C1_WPF_VTreeHelper_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static class VTreeHelper</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Module VTreeHelper</code></pre>
  </div>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_VTreeHelper_GetChildOfType_System_Windows_DependencyObject_System_Type_" data-uid="C1.WPF.VTreeHelper.GetChildOfType(System.Windows.DependencyObject,System.Type)">
          <a class="xref" href="C1.WPF.VTreeHelper.GetChildOfType.html#C1_WPF_VTreeHelper_GetChildOfType_System_Windows_DependencyObject_System_Type_">GetChildOfType(DependencyObject, Type)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the first child visual object of the specified type within a specified parent.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_VTreeHelper_GetChildrenOfType_System_Windows_DependencyObject_System_Type_System_Collections_Generic_IList_System_Windows_DependencyObject___" data-uid="C1.WPF.VTreeHelper.GetChildrenOfType(System.Windows.DependencyObject,System.Type,System.Collections.Generic.IList{System.Windows.DependencyObject}@)">
          <a class="xref" href="C1.WPF.VTreeHelper.GetChildrenOfType.html#C1_WPF_VTreeHelper_GetChildrenOfType_System_Windows_DependencyObject_System_Type_System_Collections_Generic_IList_System_Windows_DependencyObject___">GetChildrenOfType(DependencyObject, Type, ref IList&lt;DependencyObject&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns all children visual objects of the specified type within a specified parent.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_VTreeHelper_GetFirstParent_System_Windows_DependencyObject_System_Collections_Generic_IList_System_Type__System_Windows_DependencyObject_" data-uid="C1.WPF.VTreeHelper.GetFirstParent(System.Windows.DependencyObject,System.Collections.Generic.IList{System.Type},System.Windows.DependencyObject)">
          <a class="xref" href="C1.WPF.VTreeHelper.GetFirstParent.html#C1_WPF_VTreeHelper_GetFirstParent_System_Windows_DependencyObject_System_Collections_Generic_IList_System_Type__System_Windows_DependencyObject_">GetFirstParent(DependencyObject, IList&lt;Type&gt;, DependencyObject)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.dependencyobject">DependencyObject</a> value that represents the first parent
of the visual object which type is one of the specified tyles. Method looks up the visual tree until
the desired parent element is found or parent element is equal to the specified endObject.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_VTreeHelper_GetParentOfType_System_Windows_DependencyObject_System_Type_" data-uid="C1.WPF.VTreeHelper.GetParentOfType(System.Windows.DependencyObject,System.Type)">
          <a class="xref" href="C1.WPF.VTreeHelper.GetParentOfType.html#C1_WPF_VTreeHelper_GetParentOfType_System_Windows_DependencyObject_System_Type_">GetParentOfType(DependencyObject, Type)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.dependencyobject">DependencyObject</a> value that represents the parent
of the visual object of the specified type. Method looks up the visual tree until
the desired parent element is found or parent element is null.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_VTreeHelper_GetParentOfType_System_Windows_DependencyObject_System_Type_System_Boolean_" data-uid="C1.WPF.VTreeHelper.GetParentOfType(System.Windows.DependencyObject,System.Type,System.Boolean)">
          <a class="xref" href="C1.WPF.VTreeHelper.GetParentOfType.html#C1_WPF_VTreeHelper_GetParentOfType_System_Windows_DependencyObject_System_Type_System_Boolean_">GetParentOfType(DependencyObject, Type, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.dependencyobject">DependencyObject</a> value that represents the parent
of the visual object of the specified type. Method looks up the visual tree until
the desired parent element is found or parent element is null.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_VTreeHelper_GetParentOfType_System_Windows_DependencyObject_System_Type_System_Windows_DependencyObject_" data-uid="C1.WPF.VTreeHelper.GetParentOfType(System.Windows.DependencyObject,System.Type,System.Windows.DependencyObject)">
          <a class="xref" href="C1.WPF.VTreeHelper.GetParentOfType.html#C1_WPF_VTreeHelper_GetParentOfType_System_Windows_DependencyObject_System_Type_System_Windows_DependencyObject_">GetParentOfType(DependencyObject, Type, DependencyObject)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.dependencyobject">DependencyObject</a> value that represents the parent
of the visual object of the specified type. Method looks up the visual tree until
the desired parent element is found or parent element is equal to the specified endObject.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_VTreeHelper_GetParentOfType_System_Windows_DependencyObject_System_Type_System_Windows_DependencyObject_System_Boolean_" data-uid="C1.WPF.VTreeHelper.GetParentOfType(System.Windows.DependencyObject,System.Type,System.Windows.DependencyObject,System.Boolean)">
          <a class="xref" href="C1.WPF.VTreeHelper.GetParentOfType.html#C1_WPF_VTreeHelper_GetParentOfType_System_Windows_DependencyObject_System_Type_System_Windows_DependencyObject_System_Boolean_">GetParentOfType(DependencyObject, Type, DependencyObject, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.dependencyobject">DependencyObject</a> value that represents the parent
of the visual object of the specified type. Method looks up the visual tree until
the desired parent element is found or parent element is equal to the specified endObject.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
