# C1.WPF.C1HierarchicalDataTemplate

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_C1HierarchicalDataTemplate" data-uid="C1.WPF.C1HierarchicalDataTemplate" class="text-break">C1HierarchicalDataTemplate Class
</h1>
  <div class="markdown level0 summary"><p>Represents a DataTemplate that supports C1HierarchicalPresenter, such as TreeViewItem.</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"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.threading.dispatcherobject">DispatcherObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworktemplate">FrameworkTemplate</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.datatemplate">DataTemplate</a></div>
    <div class="level4"><span class="xref">C1HierarchicalDataTemplate</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.markup.inamescope">INameScope</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.markup.iqueryambient">IQueryAmbient</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.inotifypropertychanged">INotifyPropertyChanged</a></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_C1HierarchicalDataTemplate_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1HierarchicalDataTemplate : DataTemplate, INameScope, IQueryAmbient, INotifyPropertyChanged</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1HierarchicalDataTemplate
    Inherits DataTemplate
    Implements INameScope, IQueryAmbient, INotifyPropertyChanged</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_C1HierarchicalDataTemplate__ctor" data-uid="C1.WPF.C1HierarchicalDataTemplate.#ctor">
          <a class="xref" href="C1.WPF.C1HierarchicalDataTemplate.-ctor.html#C1_WPF_C1HierarchicalDataTemplate__ctor">C1HierarchicalDataTemplate()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_C1HierarchicalDataTemplate_ItemTemplate" data-uid="C1.WPF.C1HierarchicalDataTemplate.ItemTemplate">
          <a class="xref" href="C1.WPF.C1HierarchicalDataTemplate.ItemTemplate.html#C1_WPF_C1HierarchicalDataTemplate_ItemTemplate">ItemTemplate</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the DataTemplate to apply to the ItemTemplate property on a generated
C1HierarchicalPresenter (such as a TreeViewItem), to indicate how to display
items from the next level in the data hierarchy.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1HierarchicalDataTemplate_ItemsSource" data-uid="C1.WPF.C1HierarchicalDataTemplate.ItemsSource">
          <a class="xref" href="C1.WPF.C1HierarchicalDataTemplate.ItemsSource.html#C1_WPF_C1HierarchicalDataTemplate_ItemsSource">ItemsSource</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the binding for this data template, which indicates where to find the collection
that represents the next level in the data hierarchy.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
