# C1.WPF.Chart.C1TreeMap

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Chart_C1TreeMap" data-uid="C1.WPF.Chart.C1TreeMap" class="text-break">C1TreeMap Class
</h1>
  <div class="markdown level0 summary"><p>The TreeMap control.</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.dependencyobject">DependencyObject</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.visual">Visual</a></div>
    <div class="level4"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.uielement">UIElement</a></div>
    <div class="level5"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement">FrameworkElement</a></div>
    <div class="level6"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.control">Control</a></div>
    <div class="level7"><a class="xref" href="C1.WPF.Chart.FlexChartBase.html">FlexChartBase</a></div>
    <div class="level8"><span class="xref">C1TreeMap</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.animation.ianimatable">IAnimatable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iframeworkinputelement">IFrameworkInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iinputelement">IInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitialize">ISupportInitialize</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.markup.iqueryambient">IQueryAmbient</a></div>
    <div><span class="xref">ITreeMap</span></div>
    <div><span class="xref">IChartBase</span></div>
    <div><span class="xref">IStyleProvider</span></div>
    <div><span class="xref">IPalette</span></div>
    <div><span class="xref">IBrushConverter</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Chart.html">C1.WPF.Chart</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.FlexChart.4.6.2.dll</h6>
  <h5 id="C1_WPF_Chart_C1TreeMap_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TemplatePart(Name = &quot;canvas&quot;, Type = typeof(RenderCanvas))]
public class C1TreeMap : FlexChartBase, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, ITreeMap, IChartBase, IStyleProvider, IPalette, IBrushConverter</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TemplatePart(Name:=&quot;canvas&quot;, Type:=GetType(RenderCanvas))&gt;
Public Class C1TreeMap
    Inherits FlexChartBase
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, ITreeMap, IChartBase, IStyleProvider, IPalette, IBrushConverter</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_Chart_C1TreeMap__ctor" data-uid="C1.WPF.Chart.C1TreeMap.#ctor">
          <a class="xref" href="C1.WPF.Chart.C1TreeMap.-ctor.html#C1_WPF_Chart_C1TreeMap__ctor">C1TreeMap()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates an instance of C1TreeMap.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Chart_C1TreeMap_BindingNameProperty" data-uid="C1.WPF.Chart.C1TreeMap.BindingNameProperty">
          <a class="xref" href="C1.WPF.Chart.C1TreeMap.BindingNameProperty.html">BindingNameProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the BindingName dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_C1TreeMap_ChartTypeProperty" data-uid="C1.WPF.Chart.C1TreeMap.ChartTypeProperty">
          <a class="xref" href="C1.WPF.Chart.C1TreeMap.ChartTypeProperty.html">ChartTypeProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the ChartType dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_C1TreeMap_ChildItemsPathProperty" data-uid="C1.WPF.Chart.C1TreeMap.ChildItemsPathProperty">
          <a class="xref" href="C1.WPF.Chart.C1TreeMap.ChildItemsPathProperty.html">ChildItemsPathProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the ChildItemsPath dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_C1TreeMap_MaxDepthProperty" data-uid="C1.WPF.Chart.C1TreeMap.MaxDepthProperty">
          <a class="xref" href="C1.WPF.Chart.C1TreeMap.MaxDepthProperty.html">MaxDepthProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the MaxDepth dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_C1TreeMap_SelectedItemProperty" data-uid="C1.WPF.Chart.C1TreeMap.SelectedItemProperty">
          <a class="xref" href="C1.WPF.Chart.C1TreeMap.SelectedItemProperty.html">SelectedItemProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the SelectedItem dependency property.</p>
</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_Chart_C1TreeMap_BindingName" data-uid="C1.WPF.Chart.C1TreeMap.BindingName">
          <a class="xref" href="C1.WPF.Chart.C1TreeMap.BindingName.html#C1_WPF_Chart_C1TreeMap_BindingName">BindingName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name of the property that contains the name of the data item.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_C1TreeMap_ChartType" data-uid="C1.WPF.Chart.C1TreeMap.ChartType">
          <a class="xref" href="C1.WPF.Chart.C1TreeMap.ChartType.html#C1_WPF_Chart_C1TreeMap_ChartType">ChartType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the tree map type.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_C1TreeMap_ChildItemsPath" data-uid="C1.WPF.Chart.C1TreeMap.ChildItemsPath">
          <a class="xref" href="C1.WPF.Chart.C1TreeMap.ChildItemsPath.html#C1_WPF_Chart_C1TreeMap_ChildItemsPath">ChildItemsPath</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name of the property of collection that contains child items.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_C1TreeMap_DataLabel" data-uid="C1.WPF.Chart.C1TreeMap.DataLabel">
          <a class="xref" href="C1.WPF.Chart.C1TreeMap.DataLabel.html#C1_WPF_Chart_C1TreeMap_DataLabel">DataLabel</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the data label.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_C1TreeMap_MaxDepth" data-uid="C1.WPF.Chart.C1TreeMap.MaxDepth">
          <a class="xref" href="C1.WPF.Chart.C1TreeMap.MaxDepth.html#C1_WPF_Chart_C1TreeMap_MaxDepth">MaxDepth</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the maximum number of displayed node levels.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_C1TreeMap_SelectedItem" data-uid="C1.WPF.Chart.C1TreeMap.SelectedItem">
          <a class="xref" href="C1.WPF.Chart.C1TreeMap.SelectedItem.html#C1_WPF_Chart_C1TreeMap_SelectedItem">SelectedItem</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the selected data item.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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_Chart_C1TreeMap_GetContent_C1_Chart_HitTestInfo_System_String_" data-uid="C1.WPF.Chart.C1TreeMap.GetContent(C1.Chart.HitTestInfo,System.String)">
          <a class="xref" href="C1.WPF.Chart.C1TreeMap.GetContent.html#C1_WPF_Chart_C1TreeMap_GetContent_C1_Chart_HitTestInfo_System_String_">GetContent(HitTestInfo, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the content by specified template.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_C1TreeMap_HitTest_System_Windows_Point_" data-uid="C1.WPF.Chart.C1TreeMap.HitTest(System.Windows.Point)">
          <a class="xref" href="C1.WPF.Chart.C1TreeMap.HitTest.html#C1_WPF_Chart_C1TreeMap_HitTest_System_Windows_Point_">HitTest(Point)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a HitTestInfo object with information about the specified point.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_C1TreeMap_Invalidate" data-uid="C1.WPF.Chart.C1TreeMap.Invalidate">
          <a class="xref" href="C1.WPF.Chart.C1TreeMap.Invalidate.html#C1_WPF_Chart_C1TreeMap_Invalidate">Invalidate()</a>
        </td>
        <td class="markdown level1 summary"><p>Invalidates the chart.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_C1TreeMap_MaxDepthPropertyChanged_System_Windows_DependencyObject_System_Windows_DependencyPropertyChangedEventArgs_" data-uid="C1.WPF.Chart.C1TreeMap.MaxDepthPropertyChanged(System.Windows.DependencyObject,System.Windows.DependencyPropertyChangedEventArgs)">
          <a class="xref" href="C1.WPF.Chart.C1TreeMap.MaxDepthPropertyChanged.html#C1_WPF_Chart_C1TreeMap_MaxDepthPropertyChanged_System_Windows_DependencyObject_System_Windows_DependencyPropertyChangedEventArgs_">MaxDepthPropertyChanged(DependencyObject, DependencyPropertyChangedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_C1TreeMap_OnApplyTemplate" data-uid="C1.WPF.Chart.C1TreeMap.OnApplyTemplate">
          <a class="xref" href="C1.WPF.Chart.C1TreeMap.OnApplyTemplate.html#C1_WPF_Chart_C1TreeMap_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"><p>Invoked when applying control template.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_C1TreeMap_OnItemsSourceChanged_System_Object_" data-uid="C1.WPF.Chart.C1TreeMap.OnItemsSourceChanged(System.Object)">
          <a class="xref" href="C1.WPF.Chart.C1TreeMap.OnItemsSourceChanged.html#C1_WPF_Chart_C1TreeMap_OnItemsSourceChanged_System_Object_">OnItemsSourceChanged(object)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_C1TreeMap_OnMouseDown_System_Windows_Input_MouseButtonEventArgs_" data-uid="C1.WPF.Chart.C1TreeMap.OnMouseDown(System.Windows.Input.MouseButtonEventArgs)">
          <a class="xref" href="C1.WPF.Chart.C1TreeMap.OnMouseDown.html#C1_WPF_Chart_C1TreeMap_OnMouseDown_System_Windows_Input_MouseButtonEventArgs_">OnMouseDown(MouseButtonEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Invoked during mouse down event.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Chart_C1TreeMap_NodeRendered" data-uid="C1.WPF.Chart.C1TreeMap.NodeRendered">
          <a class="xref" href="C1.WPF.Chart.C1TreeMap.NodeRendered.html">NodeRendered</a>
        </td>
        <td class="markdown level1 summary"><p>Fires after rendering node.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Chart_C1TreeMap_NodeRendering" data-uid="C1.WPF.Chart.C1TreeMap.NodeRendering">
          <a class="xref" href="C1.WPF.Chart.C1TreeMap.NodeRendering.html">NodeRendering</a>
        </td>
        <td class="markdown level1 summary"><p>Fires before rendering node.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
