# C1.WPF.RichTextBox.C1TextElementView

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_RichTextBox_C1TextElementView" data-uid="C1.WPF.RichTextBox.C1TextElementView" class="text-break">C1TextElementView Class
</h1>
  <div class="markdown level0 summary"><p>Base class of all classes responsible for text layout and painting.</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">C1TextElementView</span></div>
      <div class="level2"><a class="xref" href="C1.WPF.RichTextBox.C1BoxView.html">C1BoxView</a></div>
      <div class="level2"><a class="xref" href="C1.WPF.RichTextBox.C1FlowView.html">C1FlowView</a></div>
      <div class="level2"><a class="xref" href="C1.WPF.RichTextBox.C1SpanView.html">C1SpanView</a></div>
      <div class="level2"><a class="xref" href="C1.WPF.RichTextBox.C1TableCellView.html">C1TableCellView</a></div>
      <div class="level2"><a class="xref" href="C1.WPF.RichTextBox.C1TableRowView.html">C1TableRowView</a></div>
      <div class="level2"><a class="xref" href="C1.WPF.RichTextBox.C1TableView.html">C1TableView</a></div>
      <div class="level2"><a class="xref" href="C1.WPF.RichTextBox.C1UIContainerView.html">C1UIContainerView</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.RichTextBox.html">C1.WPF.RichTextBox</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.RichTextBox.4.6.2.dll</h6>
  <h5 id="C1_WPF_RichTextBox_C1TextElementView_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class C1TextElementView</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class C1TextElementView</code></pre>
  </div>
  <h5 id="C1_WPF_RichTextBox_C1TextElementView_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><pre><code>&lt;xref href=&quot;C1.WPF.RichTextBox.C1TextElementView&quot; data-throw-if-not-resolved=&quot;false&quot;&gt;&lt;/xref&gt; are arranged in a tree similar to &lt;xref href=&quot;C1.WPF.RichTextBox.Documents.C1TextElement&quot; data-throw-if-not-resolved=&quot;false&quot;&gt;&lt;/xref&gt;. When displaying a document, 
</code></pre>
<p><a class="xref" href="C1.WPF.RichTextBox.C1RichTextViewManager.html">C1RichTextViewManager</a> constructs one, or more, <a class="xref" href="C1.WPF.RichTextBox.C1TextElementView.html">C1TextElementView</a> for each <a class="xref" href="C1.WPF.RichTextBox.Documents.C1TextElement.html">C1TextElement</a>.
The resulting <a class="xref" href="C1.WPF.RichTextBox.C1TextElementView.html">C1TextElementView</a> tree is responsible for doing the document layout, and painting it. The current document
layout can be queried from <a class="xref" href="C1.WPF.RichTextBox.C1RichTextViewManager.html">C1RichTextViewManager</a> and its views.</p>
</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_C1TextElementView__ctor_C1_WPF_RichTextBox_C1RichTextViewManager_C1_WPF_RichTextBox_Documents_C1TextElement_" data-uid="C1.WPF.RichTextBox.C1TextElementView.#ctor(C1.WPF.RichTextBox.C1RichTextViewManager,C1.WPF.RichTextBox.Documents.C1TextElement)">
          <a class="xref" href="C1.WPF.RichTextBox.C1TextElementView.-ctor.html#C1_WPF_RichTextBox_C1TextElementView__ctor_C1_WPF_RichTextBox_C1RichTextViewManager_C1_WPF_RichTextBox_Documents_C1TextElement_">C1TextElementView(C1RichTextViewManager, C1TextElement)</a>
        </td>
        <td class="markdown level1 summary"><p>Constructs a new <a class="xref" href="C1.WPF.RichTextBox.C1TextElementView.html">C1TextElementView</a>.</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_C1TextElementView_Children" data-uid="C1.WPF.RichTextBox.C1TextElementView.Children">
          <a class="xref" href="C1.WPF.RichTextBox.C1TextElementView.Children.html#C1_WPF_RichTextBox_C1TextElementView_Children">Children</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of children for this view.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1TextElementView_Content" data-uid="C1.WPF.RichTextBox.C1TextElementView.Content">
          <a class="xref" href="C1.WPF.RichTextBox.C1TextElementView.Content.html#C1_WPF_RichTextBox_C1TextElementView_Content">Content</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the innermost view that is associated with the same <a class="xref" href="C1.WPF.RichTextBox.Documents.C1TextElement.html">C1TextElement</a> as this view.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1TextElementView_DesiredSize" data-uid="C1.WPF.RichTextBox.C1TextElementView.DesiredSize">
          <a class="xref" href="C1.WPF.RichTextBox.C1TextElementView.DesiredSize.html#C1_WPF_RichTextBox_C1TextElementView_DesiredSize">DesiredSize</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the resulting size of the last measure of this view.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1TextElementView_Element" data-uid="C1.WPF.RichTextBox.C1TextElementView.Element">
          <a class="xref" href="C1.WPF.RichTextBox.C1TextElementView.Element.html#C1_WPF_RichTextBox_C1TextElementView_Element">Element</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.WPF.RichTextBox.Documents.C1TextElement.html">C1TextElement</a> associated with this <a class="xref" href="C1.WPF.RichTextBox.C1TextElementView.html">C1TextElementView</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1TextElementView_Origin" data-uid="C1.WPF.RichTextBox.C1TextElementView.Origin">
          <a class="xref" href="C1.WPF.RichTextBox.C1TextElementView.Origin.html#C1_WPF_RichTextBox_C1TextElementView_Origin">Origin</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the origin of this view.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1TextElementView_Parent" data-uid="C1.WPF.RichTextBox.C1TextElementView.Parent">
          <a class="xref" href="C1.WPF.RichTextBox.C1TextElementView.Parent.html#C1_WPF_RichTextBox_C1TextElementView_Parent">Parent</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the parent of this <a class="xref" href="C1.WPF.RichTextBox.C1TextElementView.html">C1TextElementView</a>, or null if this is the root of the tree.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1TextElementView_RelativeOrigin" data-uid="C1.WPF.RichTextBox.C1TextElementView.RelativeOrigin">
          <a class="xref" href="C1.WPF.RichTextBox.C1TextElementView.RelativeOrigin.html#C1_WPF_RichTextBox_C1TextElementView_RelativeOrigin">RelativeOrigin</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the origin of this view relative to its parent.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1TextElementView_ViewManager" data-uid="C1.WPF.RichTextBox.C1TextElementView.ViewManager">
          <a class="xref" href="C1.WPF.RichTextBox.C1TextElementView.ViewManager.html#C1_WPF_RichTextBox_C1TextElementView_ViewManager">ViewManager</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.WPF.RichTextBox.C1RichTextViewManager.html">C1RichTextViewManager</a> associated with this <a class="xref" href="C1.WPF.RichTextBox.C1TextElementView.html">C1TextElementView</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
