# C1.Xamarin.Forms.Chart.C1TreeMap

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Xamarin_Forms_Chart_C1TreeMap" data-uid="C1.Xamarin.Forms.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="C1.Xamarin.Forms.Chart.ChartBase.html">ChartBase</a></div>
    <div class="level2"><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.componentmodel.icomponent">IComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><a class="xref" href="C1.Xamarin.Forms.Chart.ITreeMap.html">ITreeMap</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Xamarin.Forms.Chart.html">C1.Xamarin.Forms.Chart</a></h6>
  <h6><strong>Assembly</strong>: C1.Xamarin.Forms.Chart.dll</h6>
  <h5 id="C1_Xamarin_Forms_Chart_C1TreeMap_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1TreeMap : ChartBase, IComponent, IDisposable, ITreeMap</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_Xamarin_Forms_Chart_C1TreeMap__ctor" data-uid="C1.Xamarin.Forms.Chart.C1TreeMap.#ctor">
          <a class="xref" href="C1.Xamarin.Forms.Chart.C1TreeMap.-ctor.html#C1_Xamarin_Forms_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_Xamarin_Forms_Chart_C1TreeMap_BindingNameProperty" data-uid="C1.Xamarin.Forms.Chart.C1TreeMap.BindingNameProperty">
          <a class="xref" href="C1.Xamarin.Forms.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_Xamarin_Forms_Chart_C1TreeMap_ChartTypeProperty" data-uid="C1.Xamarin.Forms.Chart.C1TreeMap.ChartTypeProperty">
          <a class="xref" href="C1.Xamarin.Forms.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_Xamarin_Forms_Chart_C1TreeMap_ChildItemsPathProperty" data-uid="C1.Xamarin.Forms.Chart.C1TreeMap.ChildItemsPathProperty">
          <a class="xref" href="C1.Xamarin.Forms.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_Xamarin_Forms_Chart_C1TreeMap_MaxDepthProperty" data-uid="C1.Xamarin.Forms.Chart.C1TreeMap.MaxDepthProperty">
          <a class="xref" href="C1.Xamarin.Forms.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_Xamarin_Forms_Chart_C1TreeMap_SelectedItemProperty" data-uid="C1.Xamarin.Forms.Chart.C1TreeMap.SelectedItemProperty">
          <a class="xref" href="C1.Xamarin.Forms.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_Xamarin_Forms_Chart_C1TreeMap_BindingName" data-uid="C1.Xamarin.Forms.Chart.C1TreeMap.BindingName">
          <a class="xref" href="C1.Xamarin.Forms.Chart.C1TreeMap.BindingName.html#C1_Xamarin_Forms_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_Xamarin_Forms_Chart_C1TreeMap_ChartType" data-uid="C1.Xamarin.Forms.Chart.C1TreeMap.ChartType">
          <a class="xref" href="C1.Xamarin.Forms.Chart.C1TreeMap.ChartType.html#C1_Xamarin_Forms_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_Xamarin_Forms_Chart_C1TreeMap_ChildItemsPath" data-uid="C1.Xamarin.Forms.Chart.C1TreeMap.ChildItemsPath">
          <a class="xref" href="C1.Xamarin.Forms.Chart.C1TreeMap.ChildItemsPath.html#C1_Xamarin_Forms_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_Xamarin_Forms_Chart_C1TreeMap_DataLabel" data-uid="C1.Xamarin.Forms.Chart.C1TreeMap.DataLabel">
          <a class="xref" href="C1.Xamarin.Forms.Chart.C1TreeMap.DataLabel.html#C1_Xamarin_Forms_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_Xamarin_Forms_Chart_C1TreeMap_MaxDepth" data-uid="C1.Xamarin.Forms.Chart.C1TreeMap.MaxDepth">
          <a class="xref" href="C1.Xamarin.Forms.Chart.C1TreeMap.MaxDepth.html#C1_Xamarin_Forms_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_Xamarin_Forms_Chart_C1TreeMap_SelectedItem" data-uid="C1.Xamarin.Forms.Chart.C1TreeMap.SelectedItem">
          <a class="xref" href="C1.Xamarin.Forms.Chart.C1TreeMap.SelectedItem.html#C1_Xamarin_Forms_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_Xamarin_Forms_Chart_C1TreeMap_DrillDown" data-uid="C1.Xamarin.Forms.Chart.C1TreeMap.DrillDown">
          <a class="xref" href="C1.Xamarin.Forms.Chart.C1TreeMap.DrillDown.html#C1_Xamarin_Forms_Chart_C1TreeMap_DrillDown">DrillDown()</a>
        </td>
        <td class="markdown level1 summary"><p>Drill down from selected item.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Chart_C1TreeMap_DrillUp" data-uid="C1.Xamarin.Forms.Chart.C1TreeMap.DrillUp">
          <a class="xref" href="C1.Xamarin.Forms.Chart.C1TreeMap.DrillUp.html#C1_Xamarin_Forms_Chart_C1TreeMap_DrillUp">DrillUp()</a>
        </td>
        <td class="markdown level1 summary"><p>Drill up to parent item.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Chart_C1TreeMap_HitTest_Xamarin_Forms_Point_" data-uid="C1.Xamarin.Forms.Chart.C1TreeMap.HitTest(Xamarin.Forms.Point)">
          <a class="xref" href="C1.Xamarin.Forms.Chart.C1TreeMap.HitTest.html#C1_Xamarin_Forms_Chart_C1TreeMap_HitTest_Xamarin_Forms_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_Xamarin_Forms_Chart_C1TreeMap_Invalidate" data-uid="C1.Xamarin.Forms.Chart.C1TreeMap.Invalidate">
          <a class="xref" href="C1.Xamarin.Forms.Chart.C1TreeMap.Invalidate.html#C1_Xamarin_Forms_Chart_C1TreeMap_Invalidate">Invalidate()</a>
        </td>
        <td class="markdown level1 summary"><p>Invalidates the chart.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Chart_C1TreeMap_LayoutChildren_System_Double_System_Double_System_Double_System_Double_" data-uid="C1.Xamarin.Forms.Chart.C1TreeMap.LayoutChildren(System.Double,System.Double,System.Double,System.Double)">
          <a class="xref" href="C1.Xamarin.Forms.Chart.C1TreeMap.LayoutChildren.html#C1_Xamarin_Forms_Chart_C1TreeMap_LayoutChildren_System_Double_System_Double_System_Double_System_Double_">LayoutChildren(double, double, double, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Lays out the FlexChart.Children in the specified rectangle. This method no need to implement currently.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Chart_C1TreeMap_MaxDepthPropertyChanged_System_Int32_System_Int32_" data-uid="C1.Xamarin.Forms.Chart.C1TreeMap.MaxDepthPropertyChanged(System.Int32,System.Int32)">
          <a class="xref" href="C1.Xamarin.Forms.Chart.C1TreeMap.MaxDepthPropertyChanged.html#C1_Xamarin_Forms_Chart_C1TreeMap_MaxDepthPropertyChanged_System_Int32_System_Int32_">MaxDepthPropertyChanged(int, int)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Chart_C1TreeMap_OnItemsSourceChanged_System_Object_" data-uid="C1.Xamarin.Forms.Chart.C1TreeMap.OnItemsSourceChanged(System.Object)">
          <a class="xref" href="C1.Xamarin.Forms.Chart.C1TreeMap.OnItemsSourceChanged.html#C1_Xamarin_Forms_Chart_C1TreeMap_OnItemsSourceChanged_System_Object_">OnItemsSourceChanged(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Called when ItemsSource changes.</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_Xamarin_Forms_Chart_C1TreeMap_NodeRendered" data-uid="C1.Xamarin.Forms.Chart.C1TreeMap.NodeRendered">
          <a class="xref" href="C1.Xamarin.Forms.Chart.C1TreeMap.NodeRendered.html">NodeRendered</a>
        </td>
        <td class="markdown level1 summary"><p>Fires after rendering node.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Chart_C1TreeMap_NodeRendering" data-uid="C1.Xamarin.Forms.Chart.C1TreeMap.NodeRendering">
          <a class="xref" href="C1.Xamarin.Forms.Chart.C1TreeMap.NodeRendering.html">NodeRendering</a>
        </td>
        <td class="markdown level1 summary"><p>Fires before rendering node.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
