# C1.Web.Mvc.TreeNode

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_TreeNode" data-uid="C1.Web.Mvc.TreeNode" class="text-break">TreeNode Class
</h1>
  <div class="markdown level0 summary"><p>Represents a node in <a class="xref" href="C1.Web.Mvc.TreeView.html">TreeView</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">TreeNode</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.html">C1.Web.Mvc</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.dll</h6>
  <h5 id="C1_Web_Mvc_TreeNode_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class TreeNode</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class TreeNode</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_Web_Mvc_TreeNode__ctor" data-uid="C1.Web.Mvc.TreeNode.#ctor">
          <a class="xref" href="C1.Web.Mvc.TreeNode.-ctor.html#C1_Web_Mvc_TreeNode__ctor">TreeNode()</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_Web_Mvc_TreeNode_DataItem" data-uid="C1.Web.Mvc.TreeNode.DataItem">
          <a class="xref" href="C1.Web.Mvc.TreeNode.DataItem.html#C1_Web_Mvc_TreeNode_DataItem">DataItem</a>
        </td>
        <td class="markdown level1 summary"><p>The data item that this node represents.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_TreeNode_IsChecked" data-uid="C1.Web.Mvc.TreeNode.IsChecked">
          <a class="xref" href="C1.Web.Mvc.TreeNode.IsChecked.html#C1_Web_Mvc_TreeNode_IsChecked">IsChecked</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the node is checked.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_TreeNode_Level" data-uid="C1.Web.Mvc.TreeNode.Level">
          <a class="xref" href="C1.Web.Mvc.TreeNode.Level.html#C1_Web_Mvc_TreeNode_Level">Level</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates the node’s level. Top-level nodes have level zero.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
