<?xml version="1.0" encoding="utf-8"?>
<Type Name="TreeNodeTypes" FullName="System.Web.UI.WebControls.TreeNodeTypes">
  <TypeSignature Language="C#" Value="public enum TreeNodeTypes" />
  <AssemblyInfo>
    <AssemblyName>System.Web</AssemblyName>
    <AssemblyVersion>2.0.0.0</AssemblyVersion>
  </AssemblyInfo>
  <Base>
    <BaseTypeName>System.Enum</BaseTypeName>
  </Base>
  <Attributes>
    <Attribute>
      <AttributeName>System.Flags</AttributeName>
    </Attribute>
  </Attributes>
  <Docs>
    <since version=".NET 2.0" />
    <remarks>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>The <see cref="T:System.Web.UI.WebControls.TreeNodeTypes" /> enumeration is used to represent the different node types that are available in the <see cref="T:System.Web.UI.WebControls.TreeView" /> control. The following table describes the three different node types.</para>
      <list type="table">
        <listheader>
          <item>
            <term>
              <para>Node type</para>
            </term>
            <description>
              <para>Description</para>
            </description>
          </item>
        </listheader>
        <item>
          <term>
            <para>Leaf</para>
          </term>
          <description>
            <para>A node with no child nodes.</para>
          </description>
        </item>
        <item>
          <term>
            <para>Parent</para>
          </term>
          <description>
            <para>A node with a parent node and one or more child nodes.</para>
          </description>
        </item>
        <item>
          <term>
            <para>Root</para>
          </term>
          <description>
            <para>A node with no parent node and one or more child nodes.</para>
          </description>
        </item>
      </list>
      <para>The <see cref="T:System.Web.UI.WebControls.TreeNodeTypes" /> enumeration is a flag enumeration, which allows you to combine values through bitwise operations. For example, to represent the parent and leaf nodes, you can perform a bitwise OR operation on the <see cref="F:System.Web.UI.WebControls.TreeNodeTypes.Parent" /> and <see cref="F:System.Web.UI.WebControls.TreeNodeTypes.Leaf" /> values.</para>
      <block subset="none" type="note">
        <para>The <see cref="P:System.Web.UI.WebControls.TreeView.ShowCheckBoxes" /> property uses the <see cref="T:System.Web.UI.WebControls.TreeNodeTypes" /> enumeration to represent the node types that display check boxes in the <see cref="T:System.Web.UI.WebControls.TreeView" /> control. When it is set to a value other than the <see cref="F:System.Web.UI.WebControls.TreeNodeTypes.None" /> value, check boxes are displayed next to the specified node type, which allows users to select multiple items from the <see cref="T:System.Web.UI.WebControls.TreeView" /> control.</para>
      </block>
    </remarks>
    <summary>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>Represents the different node types (leaf, parent, and root) in the <see cref="T:System.Web.UI.WebControls.TreeView" /> control.</para>
    </summary>
  </Docs>
  <Members>
    <Member MemberName="All">
      <MemberSignature Language="C#" Value="All" />
      <MemberType>Field</MemberType>
      <ReturnValue>
        <ReturnType>System.Web.UI.WebControls.TreeNodeTypes</ReturnType>
      </ReturnValue>
      <Docs>
        <since version=".NET 2.0" />
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>All nodes.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="Leaf">
      <MemberSignature Language="C#" Value="Leaf" />
      <MemberType>Field</MemberType>
      <ReturnValue>
        <ReturnType>System.Web.UI.WebControls.TreeNodeTypes</ReturnType>
      </ReturnValue>
      <Docs>
        <since version=".NET 2.0" />
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>A node with no child nodes.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="None">
      <MemberSignature Language="C#" Value="None" />
      <MemberType>Field</MemberType>
      <ReturnValue>
        <ReturnType>System.Web.UI.WebControls.TreeNodeTypes</ReturnType>
      </ReturnValue>
      <Docs>
        <since version=".NET 2.0" />
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>No nodes.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="Parent">
      <MemberSignature Language="C#" Value="Parent" />
      <MemberType>Field</MemberType>
      <ReturnValue>
        <ReturnType>System.Web.UI.WebControls.TreeNodeTypes</ReturnType>
      </ReturnValue>
      <Docs>
        <since version=".NET 2.0" />
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>A node with a parent node and one or more child nodes.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="Root">
      <MemberSignature Language="C#" Value="Root" />
      <MemberType>Field</MemberType>
      <ReturnValue>
        <ReturnType>System.Web.UI.WebControls.TreeNodeTypes</ReturnType>
      </ReturnValue>
      <Docs>
        <since version=".NET 2.0" />
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>A node with no parent node and one or more child nodes.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
  </Members>
</Type>