# C1.WPF.RichTextBox.Documents.C1TextElementStyle.Item

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_RichTextBox_Documents_C1TextElementStyle_Item_" data-uid="C1.WPF.RichTextBox.Documents.C1TextElementStyle.Item*">this Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_RichTextBox_Documents_C1TextElementStyle_Item_" data-uid="C1.WPF.RichTextBox.Documents.C1TextElementStyle.Item*"></a>
<h4 id="C1_WPF_RichTextBox_Documents_C1TextElementStyle_Item_C1_WPF_RichTextBox_Documents_StyleProperty_" data-uid="C1.WPF.RichTextBox.Documents.C1TextElementStyle.Item(C1.WPF.RichTextBox.Documents.StyleProperty)">this[StyleProperty]</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public object this[StyleProperty key] { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Default Property Item(key As StyleProperty) As Object</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.WPF.RichTextBox.Documents.StyleProperty.html">StyleProperty</a></td>
      <td><span class="parametername">key</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
<h5 class="implements">Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.idictionary-2.item">IDictionary&lt;TKey, TValue&gt;.this[TKey]</a></div>


<a id="C1_WPF_RichTextBox_Documents_C1TextElementStyle_Item_" data-uid="C1.WPF.RichTextBox.Documents.C1TextElementStyle.Item*"></a>
<h4 id="C1_WPF_RichTextBox_Documents_C1TextElementStyle_Item_System_Object_" data-uid="C1.WPF.RichTextBox.Documents.C1TextElementStyle.Item(System.Object)">this[object]</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public object this[object key] { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Default Property Item(key As Object) As Object</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">key</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
<h5 class="implements">Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">IDictionary.this[object]</a></div>
</div>
