# C1.Web.Mvc.Fluent.TreeMapBuilder-1

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_Fluent_TreeMapBuilder_1" data-uid="C1.Web.Mvc.Fluent.TreeMapBuilder`1" class="text-break">TreeMapBuilder&lt;T&gt; Class
</h1>
  <div class="markdown level0 summary"><p>Defines a builder to configurate <a class="xref" href="C1.Web.Mvc.TreeMap-1.html">TreeMap&lt;T&gt;</a>.</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">HideObjectMembers</span></div>
    <div class="level2"><a class="xref" href="C1.Web.Mvc.Fluent.BaseBuilder-2.html">BaseBuilder</a>&lt;<a class="xref" href="C1.Web.Mvc.TreeMap-1.html">TreeMap</a>&lt;T&gt;, <a class="xref" href="C1.Web.Mvc.Fluent.TreeMapBuilder-1.html">TreeMapBuilder</a>&lt;T&gt;&gt;</div>
    <div class="level3"><a class="xref" href="C1.Web.Mvc.Fluent.ComponentBuilder-2.html">ComponentBuilder</a>&lt;<a class="xref" href="C1.Web.Mvc.TreeMap-1.html">TreeMap</a>&lt;T&gt;, <a class="xref" href="C1.Web.Mvc.Fluent.TreeMapBuilder-1.html">TreeMapBuilder</a>&lt;T&gt;&gt;</div>
    <div class="level4"><a class="xref" href="C1.Web.Mvc.Fluent.ControlBuilder-2.html">ControlBuilder</a>&lt;<a class="xref" href="C1.Web.Mvc.TreeMap-1.html">TreeMap</a>&lt;T&gt;, <a class="xref" href="C1.Web.Mvc.Fluent.TreeMapBuilder-1.html">TreeMapBuilder</a>&lt;T&gt;&gt;</div>
    <div class="level5"><a class="xref" href="C1.Web.Mvc.Fluent.ItemsBoundControlBuilder-3.html">ItemsBoundControlBuilder</a>&lt;T, <a class="xref" href="C1.Web.Mvc.TreeMap-1.html">TreeMap</a>&lt;T&gt;, <a class="xref" href="C1.Web.Mvc.Fluent.TreeMapBuilder-1.html">TreeMapBuilder</a>&lt;T&gt;&gt;</div>
    <div class="level6"><a class="xref" href="C1.Web.Mvc.Fluent.FlexChartBaseBuilder-3.html">FlexChartBaseBuilder</a>&lt;T, <a class="xref" href="C1.Web.Mvc.TreeMap-1.html">TreeMap</a>&lt;T&gt;, <a class="xref" href="C1.Web.Mvc.Fluent.TreeMapBuilder-1.html">TreeMapBuilder</a>&lt;T&gt;&gt;</div>
    <div class="level7"><span class="xref">TreeMapBuilder&lt;T&gt;</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.html.ihtmlcontent">IHtmlContent</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.Fluent.html">C1.Web.Mvc.Fluent</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.dll</h6>
  <h5 id="C1_Web_Mvc_Fluent_TreeMapBuilder_1_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class TreeMapBuilder&lt;T&gt; : FlexChartBaseBuilder&lt;T, TreeMap&lt;T&gt;, TreeMapBuilder&lt;T&gt;&gt;, IHtmlContent</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class TreeMapBuilder(Of T)
    Inherits FlexChartBaseBuilder(Of T, TreeMap(Of T), TreeMapBuilder(Of T))
    Implements IHtmlContent</code></pre>
  </div>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <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_Web_Mvc_Fluent_TreeMapBuilder_1__ctor_C1_Web_Mvc_TreeMap__0__" data-uid="C1.Web.Mvc.Fluent.TreeMapBuilder`1.#ctor(C1.Web.Mvc.TreeMap{`0})">
          <a class="xref" href="C1.Web.Mvc.Fluent.TreeMapBuilder-1.-ctor.html#C1_Web_Mvc_Fluent_TreeMapBuilder_1__ctor_C1_Web_Mvc_TreeMap__0__">TreeMapBuilder(TreeMap&lt;T&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates one <a class="xref" href="C1.Web.Mvc.Fluent.TreeMapBuilder-1.html">TreeMapBuilder&lt;T&gt;</a> instance to configurate <code class="paramref">component</code>.</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_Web_Mvc_Fluent_TreeMapBuilder_1_Binding_System_String_" data-uid="C1.Web.Mvc.Fluent.TreeMapBuilder`1.Binding(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.TreeMapBuilder-1.Binding.html#C1_Web_Mvc_Fluent_TreeMapBuilder_1_Binding_System_String_">Binding(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.TreeMap-1.Binding.html#C1_Web_Mvc_TreeMap_1_Binding">Binding</a>.
Sets the name of the property of the data item that contains the chart value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_TreeMapBuilder_1_BindingName_System_String___" data-uid="C1.Web.Mvc.Fluent.TreeMapBuilder`1.BindingName(System.String[])">
          <a class="xref" href="C1.Web.Mvc.Fluent.TreeMapBuilder-1.BindingName.html#C1_Web_Mvc_Fluent_TreeMapBuilder_1_BindingName_System_String___">BindingName(params string[])</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.TreeMap-1.BindingName.html#C1_Web_Mvc_TreeMap_1_BindingName">BindingName</a>.
Sets the name of the property containing name of the data item. It is used to show name of the node.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_TreeMapBuilder_1_ChildItemsPath_System_String___" data-uid="C1.Web.Mvc.Fluent.TreeMapBuilder`1.ChildItemsPath(System.String[])">
          <a class="xref" href="C1.Web.Mvc.Fluent.TreeMapBuilder-1.ChildItemsPath.html#C1_Web_Mvc_Fluent_TreeMapBuilder_1_ChildItemsPath_System_String___">ChildItemsPath(params string[])</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.TreeMap-1.ChildItemsPath.html#C1_Web_Mvc_TreeMap_1_ChildItemsPath">ChildItemsPath</a>.
Sets the name of the property (or properties) used to generate child items in hierarchical data.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_TreeMapBuilder_1_DataLabel_System_Action_C1_Web_Mvc_Fluent_DataLabelBuilder__" data-uid="C1.Web.Mvc.Fluent.TreeMapBuilder`1.DataLabel(System.Action{C1.Web.Mvc.Fluent.DataLabelBuilder})">
          <a class="xref" href="C1.Web.Mvc.Fluent.TreeMapBuilder-1.DataLabel.html#C1_Web_Mvc_Fluent_TreeMapBuilder_1_DataLabel_System_Action_C1_Web_Mvc_Fluent_DataLabelBuilder__">DataLabel(Action&lt;DataLabelBuilder&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.TreeMap-1.DataLabel.html#C1_Web_Mvc_TreeMap_1_DataLabel">DataLabel</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_TreeMapBuilder_1_MaxDepth_System_Int32_" data-uid="C1.Web.Mvc.Fluent.TreeMapBuilder`1.MaxDepth(System.Int32)">
          <a class="xref" href="C1.Web.Mvc.Fluent.TreeMapBuilder-1.MaxDepth.html#C1_Web_Mvc_Fluent_TreeMapBuilder_1_MaxDepth_System_Int32_">MaxDepth(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.TreeMap-1.MaxDepth.html#C1_Web_Mvc_TreeMap_1_MaxDepth">MaxDepth</a>.
Sets the maximum number of node levels to show in the current view.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_TreeMapBuilder_1_Palette_System_Action_C1_Web_Mvc_Fluent_ListItemFactory_C1_Web_Mvc_TreeMapItemStyle_C1_Web_Mvc_Fluent_TreeMapItemStyleBuilder___" data-uid="C1.Web.Mvc.Fluent.TreeMapBuilder`1.Palette(System.Action{C1.Web.Mvc.Fluent.ListItemFactory{C1.Web.Mvc.TreeMapItemStyle,C1.Web.Mvc.Fluent.TreeMapItemStyleBuilder}})">
          <a class="xref" href="C1.Web.Mvc.Fluent.TreeMapBuilder-1.Palette.html#C1_Web_Mvc_Fluent_TreeMapBuilder_1_Palette_System_Action_C1_Web_Mvc_Fluent_ListItemFactory_C1_Web_Mvc_TreeMapItemStyle_C1_Web_Mvc_Fluent_TreeMapItemStyleBuilder___">Palette(Action&lt;ListItemFactory&lt;TreeMapItemStyle, TreeMapItemStyleBuilder&gt;&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Configure <a class="xref" href="C1.Web.Mvc.TreeMap-1.Palette.html#C1_Web_Mvc_TreeMap_1_Palette">Palette</a>.
Sets an array of default colors to be used in a tree map.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_TreeMapBuilder_1_Palette_System_Collections_Generic_IEnumerable_System_String__" data-uid="C1.Web.Mvc.Fluent.TreeMapBuilder`1.Palette(System.Collections.Generic.IEnumerable{System.String})">
          <a class="xref" href="C1.Web.Mvc.Fluent.TreeMapBuilder-1.Palette.html#C1_Web_Mvc_Fluent_TreeMapBuilder_1_Palette_System_Collections_Generic_IEnumerable_System_String__">Palette(IEnumerable&lt;string&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Configure <a class="xref" href="C1.Web.Mvc.TreeMap-1.Palette.html#C1_Web_Mvc_TreeMap_1_Palette">Palette</a>.
Sets an array of default colors to be used in a tree map.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_TreeMapBuilder_1_Type_C1_Web_Mvc_TreeMapType_" data-uid="C1.Web.Mvc.Fluent.TreeMapBuilder`1.Type(C1.Web.Mvc.TreeMapType)">
          <a class="xref" href="C1.Web.Mvc.Fluent.TreeMapBuilder-1.Type.html#C1_Web_Mvc_Fluent_TreeMapBuilder_1_Type_C1_Web_Mvc_TreeMapType_">Type(TreeMapType)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.TreeMap-1.Type.html#C1_Web_Mvc_TreeMap_1_Type">Type</a>.
Sets the type of the treemap.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
