# C1.WPF.RichTextBox.Documents.C1Run

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_RichTextBox_Documents_C1Run" data-uid="C1.WPF.RichTextBox.Documents.C1Run" class="text-break">C1Run Class
</h1>
  <div class="markdown level0 summary"><p>An inline-level flow content element intended to contain a run of formatted or unformatted text.</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="C1.WPF.RichTextBox.Documents.C1TextElement.html">C1TextElement</a></div>
    <div class="level2"><a class="xref" href="C1.WPF.RichTextBox.Documents.C1Inline.html">C1Inline</a></div>
    <div class="level3"><span class="xref">C1Run</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="C1.WPF.RichTextBox.Documents.C1TextElement.html">C1TextElement</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="C1.WPF.RichTextBox.Documents.html">C1.WPF.RichTextBox.Documents</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.RichTextBox.4.6.2.dll</h6>
  <h5 id="C1_WPF_RichTextBox_Documents_C1Run_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1Run : C1Inline, IEnumerable&lt;C1TextElement&gt;, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1Run
    Inherits C1Inline
    Implements IEnumerable(Of C1TextElement), IEnumerable</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_C1Run__ctor" data-uid="C1.WPF.RichTextBox.Documents.C1Run.#ctor">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Run.-ctor.html#C1_WPF_RichTextBox_Documents_C1Run__ctor">C1Run()</a>
        </td>
        <td class="markdown level1 summary"></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_C1Run_ContentEnd" data-uid="C1.WPF.RichTextBox.Documents.C1Run.ContentEnd">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Run.ContentEnd.html#C1_WPF_RichTextBox_Documents_C1Run_ContentEnd">ContentEnd</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.WPF.RichTextBox.Documents.C1TextPointer.html">C1TextPointer</a> at the end of the <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Run.html">C1Run</a>'s text.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_Documents_C1Run_ContentStart" data-uid="C1.WPF.RichTextBox.Documents.C1Run.ContentStart">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Run.ContentStart.html#C1_WPF_RichTextBox_Documents_C1Run_ContentStart">ContentStart</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.WPF.RichTextBox.Documents.C1TextPointer.html">C1TextPointer</a> at the beginning of the <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Run.html">C1Run</a>'s text.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_Documents_C1Run_Text" data-uid="C1.WPF.RichTextBox.Documents.C1Run.Text">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Run.Text.html#C1_WPF_RichTextBox_Documents_C1Run_Text">Text</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the unformatted text contents of this text <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Run.html">C1Run</a>.</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="C1_WPF_RichTextBox_Documents_C1Run_Clone" data-uid="C1.WPF.RichTextBox.Documents.C1Run.Clone">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Run.Clone.html#C1_WPF_RichTextBox_Documents_C1Run_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a deep copy of this element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_Documents_C1Run_Insert_System_Int32_System_String_" data-uid="C1.WPF.RichTextBox.Documents.C1Run.Insert(System.Int32,System.String)">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Run.Insert.html#C1_WPF_RichTextBox_Documents_C1Run_Insert_System_Int32_System_String_">Insert(int, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts text in <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Run.Text.html#C1_WPF_RichTextBox_Documents_C1Run_Text">Text</a>'s current value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_Documents_C1Run_JoinSibling" data-uid="C1.WPF.RichTextBox.Documents.C1Run.JoinSibling">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Run.JoinSibling.html#C1_WPF_RichTextBox_Documents_C1Run_JoinSibling">JoinSibling()</a>
        </td>
        <td class="markdown level1 summary"><p>Joins this element with its next sibling.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_Documents_C1Run_Remove_System_Int32_System_Int32_" data-uid="C1.WPF.RichTextBox.Documents.C1Run.Remove(System.Int32,System.Int32)">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Run.Remove.html#C1_WPF_RichTextBox_Documents_C1Run_Remove_System_Int32_System_Int32_">Remove(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes a range of text from <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Run.Text.html#C1_WPF_RichTextBox_Documents_C1Run_Text">Text</a>'s current value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_Documents_C1Run_Split_System_Int32_System_Boolean_" data-uid="C1.WPF.RichTextBox.Documents.C1Run.Split(System.Int32,System.Boolean)">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Run.Split.html#C1_WPF_RichTextBox_Documents_C1Run_Split_System_Int32_System_Boolean_">Split(int, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Splits this <a class="xref" href="C1.WPF.RichTextBox.Documents.C1TextElement.html">C1TextElement</a> at the specified offset into two elements of the same type with the same style properties.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
