# C1.C1Preview.IndexEntryStyles

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_IndexEntryStyles" data-uid="C1.C1Preview.IndexEntryStyles" class="text-break">IndexEntryStyles Class
</h1>
  <div class="markdown level0 summary"><p>Represents a collection of <a class="xref" href="C1.C1Preview.Style.html">Style</a>s used to render <a class="xref" href="C1.C1Preview.IndexEntry.html">IndexEntry</a> objects
at different nesting levels of a <a class="xref" href="C1.C1Preview.RenderIndex.html">RenderIndex</a>.
The style at index 0 of this collection is used to render the top-level entries,
the style at index 1 is used to render sub-entries, and so on.</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"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.collectionbase">CollectionBase</a></div>
    <div class="level2"><a class="xref" href="C1.C1Preview.OwnedCollectionBase.html">OwnedCollectionBase</a></div>
    <div class="level3"><a class="xref" href="C1.C1Preview.OwnedCollection.html">OwnedCollection</a></div>
    <div class="level4"><span class="xref">IndexEntryStyles</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.icollection">ICollection</a></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="C1.C1Preview.html">C1.C1Preview</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.PrintDocument.4.6.2.dll</h6>
  <h5 id="C1_C1Preview_IndexEntryStyles_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class IndexEntryStyles : OwnedCollection, IList, ICollection, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class IndexEntryStyles
    Inherits OwnedCollection
    Implements IList, ICollection, 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="C1_C1Preview_IndexEntryStyles_Item_System_Int32_" data-uid="C1.C1Preview.IndexEntryStyles.Item(System.Int32)">
          <a class="xref" href="C1.C1Preview.IndexEntryStyles.Item.html#C1_C1Preview_IndexEntryStyles_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.C1Preview.Style.html">Style</a> at the specified index.
Creates missing styles as needed (i.e. if <b>Style[2]</b> is accessed,
elements at indices <b>0</b>, <b>1</b> and <b>2</b> are created
if they had not been created before).</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_IndexEntryStyles_Owner" data-uid="C1.C1Preview.IndexEntryStyles.Owner">
          <a class="xref" href="C1.C1Preview.IndexEntryStyles.Owner.html#C1_C1Preview_IndexEntryStyles_Owner">Owner</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.C1Preview.RenderIndex.html">RenderIndex</a> that is the owner of the current collection.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="seealso">See Also</h3>
  <div class="seealso">
      <div><a class="xref" href="C1.C1Preview.RenderIndex.html">RenderIndex</a></div>
      <div><a class="xref" href="C1.C1Preview.IndexEntry.html">IndexEntry</a></div>
  </div>

</div>
