# C1.WPF.RichTextBox.Documents.C1Block

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_RichTextBox_Documents_C1Block" data-uid="C1.WPF.RichTextBox.Documents.C1Block" class="text-break">C1Block Class
</h1>
  <div class="markdown level0 summary"><p>An abstract class that provides a base for all block-level 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"><span class="xref">C1Block</span></div>
      <div class="level3"><a class="xref" href="C1.WPF.RichTextBox.Documents.C1BlockUIContainer.html">C1BlockUIContainer</a></div>
      <div class="level3"><a class="xref" href="C1.WPF.RichTextBox.Documents.C1List.html">C1List</a></div>
      <div class="level3"><a class="xref" href="C1.WPF.RichTextBox.Documents.C1ListItem.html">C1ListItem</a></div>
      <div class="level3"><a class="xref" href="C1.WPF.RichTextBox.Documents.C1Paragraph.html">C1Paragraph</a></div>
      <div class="level3"><a class="xref" href="C1.WPF.RichTextBox.Documents.C1Section.html">C1Section</a></div>
      <div class="level3"><a class="xref" href="C1.WPF.RichTextBox.Documents.C1Table.html">C1Table</a></div>
      <div class="level3"><a class="xref" href="C1.WPF.RichTextBox.Documents.C1TableCell.html">C1TableCell</a></div>
      <div class="level3"><a class="xref" href="C1.WPF.RichTextBox.Documents.C1TableRow.html">C1TableRow</a></div>
      <div class="level3"><a class="xref" href="C1.WPF.RichTextBox.Documents.C1TableRowGroup.html">C1TableRowGroup</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_C1Block_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class C1Block : C1TextElement, IEnumerable&lt;C1TextElement&gt;, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class C1Block
    Inherits C1TextElement
    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_C1Block__ctor" data-uid="C1.WPF.RichTextBox.Documents.C1Block.#ctor">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Block.-ctor.html#C1_WPF_RichTextBox_Documents_C1Block__ctor">C1Block()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</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_C1Block_LineSpacingProperty" data-uid="C1.WPF.RichTextBox.Documents.C1Block.LineSpacingProperty">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Block.LineSpacingProperty.html">LineSpacingProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Block.LineSpacing.html#C1_WPF_RichTextBox_Documents_C1Block_LineSpacing">LineSpacing</a> style property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_Documents_C1Block_PageBreakAfterProperty" data-uid="C1.WPF.RichTextBox.Documents.C1Block.PageBreakAfterProperty">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Block.PageBreakAfterProperty.html">PageBreakAfterProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Block.PageBreakAfter.html#C1_WPF_RichTextBox_Documents_C1Block_PageBreakAfter">PageBreakAfter</a> style property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_Documents_C1Block_PageBreakBeforeProperty" data-uid="C1.WPF.RichTextBox.Documents.C1Block.PageBreakBeforeProperty">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Block.PageBreakBeforeProperty.html">PageBreakBeforeProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Block.PageBreakBefore.html#C1_WPF_RichTextBox_Documents_C1Block_PageBreakBefore">PageBreakBefore</a> style property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_Documents_C1Block_TextAlignmentProperty" data-uid="C1.WPF.RichTextBox.Documents.C1Block.TextAlignmentProperty">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Block.TextAlignmentProperty.html">TextAlignmentProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Block.TextAlignment.html#C1_WPF_RichTextBox_Documents_C1Block_TextAlignment">TextAlignment</a> style property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_Documents_C1Block_TextIndentProperty" data-uid="C1.WPF.RichTextBox.Documents.C1Block.TextIndentProperty">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Block.TextIndentProperty.html">TextIndentProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Block.TextIndent.html#C1_WPF_RichTextBox_Documents_C1Block_TextIndent">TextIndent</a> style property.</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_C1Block_LineSpacing" data-uid="C1.WPF.RichTextBox.Documents.C1Block.LineSpacing">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Block.LineSpacing.html#C1_WPF_RichTextBox_Documents_C1Block_LineSpacing">LineSpacing</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the Line spacing of the line of text in a block.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_Documents_C1Block_PageBreakAfter" data-uid="C1.WPF.RichTextBox.Documents.C1Block.PageBreakAfter">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Block.PageBreakAfter.html#C1_WPF_RichTextBox_Documents_C1Block_PageBreakAfter">PageBreakAfter</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a <a class="xref" href="C1.WPF.RichTextBox.Documents.PageBreak.html">PageBreak</a> value indicating when a page break is inserted after this <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Block.html">C1Block</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_Documents_C1Block_PageBreakBefore" data-uid="C1.WPF.RichTextBox.Documents.C1Block.PageBreakBefore">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Block.PageBreakBefore.html#C1_WPF_RichTextBox_Documents_C1Block_PageBreakBefore">PageBreakBefore</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a <a class="xref" href="C1.WPF.RichTextBox.Documents.PageBreak.html">PageBreak</a> value indicating when a page break is inserted before this <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Block.html">C1Block</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_Documents_C1Block_TextAlignment" data-uid="C1.WPF.RichTextBox.Documents.C1Block.TextAlignment">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Block.TextAlignment.html#C1_WPF_RichTextBox_Documents_C1Block_TextAlignment">TextAlignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the horizontal alignment of text content.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_Documents_C1Block_TextIndent" data-uid="C1.WPF.RichTextBox.Documents.C1Block.TextIndent">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Block.TextIndent.html#C1_WPF_RichTextBox_Documents_C1Block_TextIndent">TextIndent</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the indentation, in pixels, of the first line of text in a block.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
