# C1.WPF.RichTextBox.C1RichTextPresenter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_RichTextBox_C1RichTextPresenter" data-uid="C1.WPF.RichTextBox.C1RichTextPresenter" class="text-break">C1RichTextPresenter Class
</h1>
  <div class="markdown level0 summary"><p>Control used to display the content of a <a class="xref" href="C1.WPF.RichTextBox.C1RichTextViewManager.html">C1RichTextViewManager</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"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.visual">Visual</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.uielement">UIElement</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement">FrameworkElement</a></div>
    <div class="level4"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.control">Control</a></div>
    <div class="level5"><span class="xref">C1RichTextPresenter</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.animation.ianimatable">IAnimatable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iframeworkinputelement">IFrameworkInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iinputelement">IInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitialize">ISupportInitialize</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.markup.iqueryambient">IQueryAmbient</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</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.dll</h6>
  <h5 id="C1_WPF_RichTextBox_C1RichTextPresenter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TemplatePart(Name = &quot;Content&quot;, Type = typeof(Canvas))]
public class C1RichTextPresenter : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TemplatePart(Name:=&quot;Content&quot;, Type:=GetType(Canvas))&gt;
Public Class C1RichTextPresenter
    Inherits Control
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IDisposable</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_C1RichTextPresenter__ctor" data-uid="C1.WPF.RichTextBox.C1RichTextPresenter.#ctor">
          <a class="xref" href="C1.WPF.RichTextBox.C1RichTextPresenter.-ctor.html#C1_WPF_RichTextBox_C1RichTextPresenter__ctor">C1RichTextPresenter()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.RichTextBox.C1RichTextPresenter.html">C1RichTextPresenter</a> class.</p>
</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_C1RichTextPresenter_SourceProperty" data-uid="C1.WPF.RichTextBox.C1RichTextPresenter.SourceProperty">
          <a class="xref" href="C1.WPF.RichTextBox.C1RichTextPresenter.SourceProperty.html">SourceProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.RichTextBox.C1RichTextPresenter.Source.html#C1_WPF_RichTextBox_C1RichTextPresenter_Source">Source</a> dependency 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_C1RichTextPresenter_IsDisposed" data-uid="C1.WPF.RichTextBox.C1RichTextPresenter.IsDisposed">
          <a class="xref" href="C1.WPF.RichTextBox.C1RichTextPresenter.IsDisposed.html#C1_WPF_RichTextBox_C1RichTextPresenter_IsDisposed">IsDisposed</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether this instance is disposed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1RichTextPresenter_Source" data-uid="C1.WPF.RichTextBox.C1RichTextPresenter.Source">
          <a class="xref" href="C1.WPF.RichTextBox.C1RichTextPresenter.Source.html#C1_WPF_RichTextBox_C1RichTextPresenter_Source">Source</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="C1.WPF.RichTextBox.C1RichTextPresenterSource.html">C1RichTextPresenterSource</a> that connects this <a class="xref" href="C1.WPF.RichTextBox.C1RichTextPresenter.html">C1RichTextPresenter</a> to a <a class="xref" href="C1.WPF.RichTextBox.C1RichTextViewManager.html">C1RichTextViewManager</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_C1RichTextPresenter_ArrangeOverride_System_Windows_Size_" data-uid="C1.WPF.RichTextBox.C1RichTextPresenter.ArrangeOverride(System.Windows.Size)">
          <a class="xref" href="C1.WPF.RichTextBox.C1RichTextPresenter.ArrangeOverride.html#C1_WPF_RichTextBox_C1RichTextPresenter_ArrangeOverride_System_Windows_Size_">ArrangeOverride(Size)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1RichTextPresenter_Dispose" data-uid="C1.WPF.RichTextBox.C1RichTextPresenter.Dispose">
          <a class="xref" href="C1.WPF.RichTextBox.C1RichTextPresenter.Dispose.html#C1_WPF_RichTextBox_C1RichTextPresenter_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1RichTextPresenter_Dispose_System_Boolean_" data-uid="C1.WPF.RichTextBox.C1RichTextPresenter.Dispose(System.Boolean)">
          <a class="xref" href="C1.WPF.RichTextBox.C1RichTextPresenter.Dispose.html#C1_WPF_RichTextBox_C1RichTextPresenter_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1RichTextPresenter_Finalize" data-uid="C1.WPF.RichTextBox.C1RichTextPresenter.Finalize">
          <a class="xref" href="C1.WPF.RichTextBox.C1RichTextPresenter.Finalize.html#C1_WPF_RichTextBox_C1RichTextPresenter_Finalize">Finalize()</a>
        </td>
        <td class="markdown level1 summary"><p>Finalizes this instance of the <a class="xref" href="C1.WPF.RichTextBox.C1RichTextPresenter.html">C1RichTextPresenter</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1RichTextPresenter_MeasureOverride_System_Windows_Size_" data-uid="C1.WPF.RichTextBox.C1RichTextPresenter.MeasureOverride(System.Windows.Size)">
          <a class="xref" href="C1.WPF.RichTextBox.C1RichTextPresenter.MeasureOverride.html#C1_WPF_RichTextBox_C1RichTextPresenter_MeasureOverride_System_Windows_Size_">MeasureOverride(Size)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1RichTextPresenter_OnApplyTemplate" data-uid="C1.WPF.RichTextBox.C1RichTextPresenter.OnApplyTemplate">
          <a class="xref" href="C1.WPF.RichTextBox.C1RichTextPresenter.OnApplyTemplate.html#C1_WPF_RichTextBox_C1RichTextPresenter_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
