# C1.WPF.RichTextBox.Documents.StyleProperty

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_RichTextBox_Documents_StyleProperty" data-uid="C1.WPF.RichTextBox.Documents.StyleProperty" class="text-break">StyleProperty Class
</h1>
  <div class="markdown level0 summary"><p>Defines a style property of a <a class="xref" href="C1.WPF.RichTextBox.Documents.C1TextElement.html">C1TextElement</a>.</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">StyleProperty</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.RichTextBox.Documents.html">C1.WPF.RichTextBox.Documents</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.RichTextBox.dll</h6>
  <h5 id="C1_WPF_RichTextBox_Documents_StyleProperty_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class StyleProperty</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class StyleProperty</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_RichTextBox_Documents_StyleProperty__ctor_System_Object_" data-uid="C1.WPF.RichTextBox.Documents.StyleProperty.#ctor(System.Object)">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.StyleProperty.-ctor.html#C1_WPF_RichTextBox_Documents_StyleProperty__ctor_System_Object_">StyleProperty(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Create a new inheritabale <a class="xref" href="C1.WPF.RichTextBox.Documents.StyleProperty.html">StyleProperty</a> instance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_Documents_StyleProperty__ctor_System_Object_System_Boolean_" data-uid="C1.WPF.RichTextBox.Documents.StyleProperty.#ctor(System.Object,System.Boolean)">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.StyleProperty.-ctor.html#C1_WPF_RichTextBox_Documents_StyleProperty__ctor_System_Object_System_Boolean_">StyleProperty(object, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Create a new <a class="xref" href="C1.WPF.RichTextBox.Documents.StyleProperty.html">StyleProperty</a> instance.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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_WPF_RichTextBox_Documents_StyleProperty_DefaultValue" data-uid="C1.WPF.RichTextBox.Documents.StyleProperty.DefaultValue">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.StyleProperty.DefaultValue.html#C1_WPF_RichTextBox_Documents_StyleProperty_DefaultValue">DefaultValue</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the default value of the property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_Documents_StyleProperty_Inherited" data-uid="C1.WPF.RichTextBox.Documents.StyleProperty.Inherited">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.StyleProperty.Inherited.html#C1_WPF_RichTextBox_Documents_StyleProperty_Inherited">Inherited</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether the value of this property is inherited in a <a class="xref" href="C1.WPF.RichTextBox.Documents.C1TextElement.html">C1TextElement</a> tree.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
