# GrapeCity.Documents.Word.ListLevelCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_ListLevelCollection" data-uid="GrapeCity.Documents.Word.ListLevelCollection" class="text-break">ListLevelCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents a collection of list formatting for each level in a list.</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">ListLevelCollection</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlylist-1">IReadOnlyList</a>&lt;<a class="xref" href="GrapeCity.Documents.Word.ListLevel.html">ListLevel</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlycollection-1">IReadOnlyCollection</a>&lt;<a class="xref" href="GrapeCity.Documents.Word.ListLevel.html">ListLevel</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="GrapeCity.Documents.Word.ListLevel.html">ListLevel</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Word.html">GrapeCity.Documents.Word</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Word.dll</h6>
  <h5 id="GrapeCity_Documents_Word_ListLevelCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ListLevelCollection : IReadOnlyList&lt;ListLevel&gt;, IReadOnlyCollection&lt;ListLevel&gt;, IEnumerable&lt;ListLevel&gt;, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ListLevelCollection
    Implements IReadOnlyList(Of ListLevel), IReadOnlyCollection(Of ListLevel), IEnumerable(Of ListLevel), IEnumerable</code></pre>
  </div>
  <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="GrapeCity_Documents_Word_ListLevelCollection_Count" data-uid="GrapeCity.Documents.Word.ListLevelCollection.Count">
          <a class="xref" href="GrapeCity.Documents.Word.ListLevelCollection.Count.html#GrapeCity_Documents_Word_ListLevelCollection_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of levels in this list.</p>
<p>
A list can contain either 1 or 9 levels.
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ListLevelCollection_Item_System_Int32_" data-uid="GrapeCity.Documents.Word.ListLevelCollection.Item(System.Int32)">
          <a class="xref" href="GrapeCity.Documents.Word.ListLevelCollection.Item.html#GrapeCity_Documents_Word_ListLevelCollection_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a list level by its index.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
