# GrapeCity.Documents.Word.ListTemplateCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_ListTemplateCollection" data-uid="GrapeCity.Documents.Word.ListTemplateCollection" class="text-break">ListTemplateCollection Class
</h1>
  <div class="markdown level0 summary"><p>Stores and manages formatting of bulleted and numbered lists used in a document.</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">ListTemplateCollection</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.ListTemplate.html">ListTemplate</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.ListTemplate.html">ListTemplate</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.ListTemplate.html">ListTemplate</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_ListTemplateCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ListTemplateCollection : IReadOnlyList&lt;ListTemplate&gt;, IReadOnlyCollection&lt;ListTemplate&gt;, IEnumerable&lt;ListTemplate&gt;, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ListTemplateCollection
    Implements IReadOnlyList(Of ListTemplate), IReadOnlyCollection(Of ListTemplate), IEnumerable(Of ListTemplate), 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_ListTemplateCollection_Count" data-uid="GrapeCity.Documents.Word.ListTemplateCollection.Count">
          <a class="xref" href="GrapeCity.Documents.Word.ListTemplateCollection.Count.html#GrapeCity_Documents_Word_ListTemplateCollection_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the count of numbered and bulleted list templates in the document.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ListTemplateCollection_Document" data-uid="GrapeCity.Documents.Word.ListTemplateCollection.Document">
          <a class="xref" href="GrapeCity.Documents.Word.ListTemplateCollection.Document.html#GrapeCity_Documents_Word_ListTemplateCollection_Document">Document</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the parent document.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ListTemplateCollection_Item_System_Int32_" data-uid="GrapeCity.Documents.Word.ListTemplateCollection.Item(System.Int32)">
          <a class="xref" href="GrapeCity.Documents.Word.ListTemplateCollection.Item.html#GrapeCity_Documents_Word_ListTemplateCollection_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a list template by its index.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ListTemplateCollection_Item_System_String_" data-uid="GrapeCity.Documents.Word.ListTemplateCollection.Item(System.String)">
          <a class="xref" href="GrapeCity.Documents.Word.ListTemplateCollection.Item.html#GrapeCity_Documents_Word_ListTemplateCollection_Item_System_String_">this[string]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a list template by its name.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ListTemplateCollection_PictureBullets" data-uid="GrapeCity.Documents.Word.ListTemplateCollection.PictureBullets">
          <a class="xref" href="GrapeCity.Documents.Word.ListTemplateCollection.PictureBullets.html#GrapeCity_Documents_Word_ListTemplateCollection_PictureBullets">PictureBullets</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of picture bullets to be used in list templates.</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="GrapeCity_Documents_Word_ListTemplateCollection_Add_GrapeCity_Documents_Word_BuiltInListTemplateId_System_String_" data-uid="GrapeCity.Documents.Word.ListTemplateCollection.Add(GrapeCity.Documents.Word.BuiltInListTemplateId,System.String)">
          <a class="xref" href="GrapeCity.Documents.Word.ListTemplateCollection.Add.html#GrapeCity_Documents_Word_ListTemplateCollection_Add_GrapeCity_Documents_Word_BuiltInListTemplateId_System_String_">Add(BuiltInListTemplateId, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new list template based on a predefined template and adds it to the collection of lists templates in the document.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ListTemplateCollection_Add_GrapeCity_Documents_Word_Style_System_String_" data-uid="GrapeCity.Documents.Word.ListTemplateCollection.Add(GrapeCity.Documents.Word.Style,System.String)">
          <a class="xref" href="GrapeCity.Documents.Word.ListTemplateCollection.Add.html#GrapeCity_Documents_Word_ListTemplateCollection_Add_GrapeCity_Documents_Word_Style_System_String_">Add(Style, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new list template that references a list style and adds it to the collection of list templates in the document.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ListTemplateCollection_Add_System_Boolean_" data-uid="GrapeCity.Documents.Word.ListTemplateCollection.Add(System.Boolean)">
          <a class="xref" href="GrapeCity.Documents.Word.ListTemplateCollection.Add.html#GrapeCity_Documents_Word_ListTemplateCollection_Add_System_Boolean_">Add(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new list template and adds it to the collection of list templates in the document.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ListTemplateCollection_Add_System_Boolean_System_String_" data-uid="GrapeCity.Documents.Word.ListTemplateCollection.Add(System.Boolean,System.String)">
          <a class="xref" href="GrapeCity.Documents.Word.ListTemplateCollection.Add.html#GrapeCity_Documents_Word_ListTemplateCollection_Add_System_Boolean_System_String_">Add(bool, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new list template and adds it to the collection of list templates in the document.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ListTemplateCollection_Contains_System_String_" data-uid="GrapeCity.Documents.Word.ListTemplateCollection.Contains(System.String)">
          <a class="xref" href="GrapeCity.Documents.Word.ListTemplateCollection.Contains.html#GrapeCity_Documents_Word_ListTemplateCollection_Contains_System_String_">Contains(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Checks whether this collection contains a list template with a specified name.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ListTemplateCollection_TryGetValue_System_String_GrapeCity_Documents_Word_ListTemplate__" data-uid="GrapeCity.Documents.Word.ListTemplateCollection.TryGetValue(System.String,GrapeCity.Documents.Word.ListTemplate@)">
          <a class="xref" href="GrapeCity.Documents.Word.ListTemplateCollection.TryGetValue.html#GrapeCity_Documents_Word_ListTemplateCollection_TryGetValue_System_String_GrapeCity_Documents_Word_ListTemplate__">TryGetValue(string, out ListTemplate)</a>
        </td>
        <td class="markdown level1 summary"><p>Tries to find a list template with a specified name.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
