# C1.WPF.RichTextBox.IRichTextPainter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_RichTextBox_IRichTextPainter" data-uid="C1.WPF.RichTextBox.IRichTextPainter" class="text-break">IRichTextPainter Interface
</h1>
  <div class="markdown level0 summary"><p>This interface is implemented to provide custom painting inside a <a class="xref" href="C1.WPF.RichTextBox.C1RichTextBox.html">C1RichTextBox</a>, or any
<a class="xref" href="C1.WPF.RichTextBox.C1RichTextViewManager.html">C1RichTextViewManager</a> client.</p>
</div>
  <div class="markdown level0 conceptual"></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_IRichTextPainter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IRichTextPainter</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IRichTextPainter</code></pre>
  </div>
  <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_IRichTextPainter_Paint_C1_WPF_RichTextBox_C1PaintingContext_" data-uid="C1.WPF.RichTextBox.IRichTextPainter.Paint(C1.WPF.RichTextBox.C1PaintingContext)">
          <a class="xref" href="C1.WPF.RichTextBox.IRichTextPainter.Paint.html#C1_WPF_RichTextBox_IRichTextPainter_Paint_C1_WPF_RichTextBox_C1PaintingContext_">Paint(C1PaintingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>This method is called each time the <a class="xref" href="C1.WPF.RichTextBox.C1RichTextViewManager.html">C1RichTextViewManager</a> paints.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_IRichTextPainter_PaintInline_C1_WPF_RichTextBox_C1PaintingContext_C1_WPF_RichTextBox_C1Line_" data-uid="C1.WPF.RichTextBox.IRichTextPainter.PaintInline(C1.WPF.RichTextBox.C1PaintingContext,C1.WPF.RichTextBox.C1Line)">
          <a class="xref" href="C1.WPF.RichTextBox.IRichTextPainter.PaintInline.html#C1_WPF_RichTextBox_IRichTextPainter_PaintInline_C1_WPF_RichTextBox_C1PaintingContext_C1_WPF_RichTextBox_C1Line_">PaintInline(C1PaintingContext, C1Line)</a>
        </td>
        <td class="markdown level1 summary"><p>This method is called each time the <a class="xref" href="C1.WPF.RichTextBox.C1RichTextViewManager.html">C1RichTextViewManager</a> paints a <a class="xref" href="C1.WPF.RichTextBox.C1Line.html">C1Line</a>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</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_IRichTextPainter_PainterChanged" data-uid="C1.WPF.RichTextBox.IRichTextPainter.PainterChanged">
          <a class="xref" href="C1.WPF.RichTextBox.IRichTextPainter.PainterChanged.html">PainterChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Fired when the painter needs to repaint a text range.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
