# C1.WPF.RichTextBox.Documents.C1Span

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_RichTextBox_Documents_C1Span" data-uid="C1.WPF.RichTextBox.Documents.C1Span" class="text-break">C1Span Class
</h1>
  <div class="markdown level0 summary"><p>Groups other <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Inline.html">C1Inline</a> flow content elements.</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">C1Span</span></div>
      <div class="level4"><a class="xref" href="C1.WPF.RichTextBox.Documents.C1Hyperlink.html">C1Hyperlink</a></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_C1Span_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1Span : C1Inline, IEnumerable&lt;C1TextElement&gt;, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1Span
    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_C1Span__ctor" data-uid="C1.WPF.RichTextBox.Documents.C1Span.#ctor">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Span.-ctor.html#C1_WPF_RichTextBox_Documents_C1Span__ctor">C1Span()</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_C1Span_Inlines" data-uid="C1.WPF.RichTextBox.Documents.C1Span.Inlines">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Span.Inlines.html#C1_WPF_RichTextBox_Documents_C1Span_Inlines">Inlines</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Inline.html">C1Inline</a> elements grouped by the <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Span.html">C1Span</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_C1Span_Add_C1_WPF_RichTextBox_Documents_C1Inline_" data-uid="C1.WPF.RichTextBox.Documents.C1Span.Add(C1.WPF.RichTextBox.Documents.C1Inline)">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Span.Add.html#C1_WPF_RichTextBox_Documents_C1Span_Add_C1_WPF_RichTextBox_Documents_C1Inline_">Add(C1Inline)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Inline.html">C1Inline</a> element to the <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Span.html">C1Span</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_Documents_C1Span_IsValidChild_System_Type_" data-uid="C1.WPF.RichTextBox.Documents.C1Span.IsValidChild(System.Type)">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Span.IsValidChild.html#C1_WPF_RichTextBox_Documents_C1Span_IsValidChild_System_Type_">IsValidChild(Type)</a>
        </td>
        <td class="markdown level1 summary"><p>Checks whether a type is a valid child of this <a class="xref" href="C1.WPF.RichTextBox.Documents.C1TextElement.html">C1TextElement</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
