# C1.C1Preview.RenderIndex.EntryStyles

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_RenderIndex_EntryStyles_" data-uid="C1.C1Preview.RenderIndex.EntryStyles*">EntryStyles Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_RenderIndex_EntryStyles_" data-uid="C1.C1Preview.RenderIndex.EntryStyles*"></a>
<h4 id="C1_C1Preview_RenderIndex_EntryStyles" data-uid="C1.C1Preview.RenderIndex.EntryStyles">EntryStyles</h4>
<div class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.C1Preview.IndexEntryStyles.html">IndexEntryStyles</a> collection containing the styles
used to render entries of the current <a class="xref" href="C1.C1Preview.RenderIndex.html">RenderIndex</a> at different levels.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public IndexEntryStyles EntryStyles { get; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public ReadOnly Property EntryStyles As IndexEntryStyles</code></pre>
</div>
<h5 id="C1_C1Preview_RenderIndex_EntryStyles_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>When the index generates, new objects are created to represent the index entries.
As all content objects in a <a class="xref" href="C1.C1Preview.C1PrintDocument.html">C1PrintDocument</a>,
each such object has an inline style that is used to actually render that object.
That style is created on the fly, and the element of the <b>EntryStyles</b>
collection at the corresponding position (0 for top-level entries, 1 for sub-entries, and so on)
is assigned to <a class="xref" href="C1.C1Preview.Style.Parent.html#C1_C1Preview_Style_Parent">Parent</a> and <a class="xref" href="C1.C1Preview.Style.AmbientParent.html#C1_C1Preview_Style_AmbientParent">AmbientParent</a>
properties of that <a class="xref" href="C1.C1Preview.Style.html">Style</a>.</p>
</div>
</div>
