# C1.WPF.RichTextBox.C1PainterMerger

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_RichTextBox_C1PainterMerger" data-uid="C1.WPF.RichTextBox.C1PainterMerger" class="text-break">C1PainterMerger Class
</h1>
  <div class="markdown level0 summary"><p>Implements an <a class="xref" href="C1.WPF.RichTextBox.IRichTextPainter.html">IRichTextPainter</a> that combines multiple IRichTextPainters.</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">C1PainterMerger</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="C1.WPF.RichTextBox.IRichTextPainter.html">IRichTextPainter</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_C1PainterMerger_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1PainterMerger : IRichTextPainter</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1PainterMerger
    Implements IRichTextPainter</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_C1PainterMerger__ctor" data-uid="C1.WPF.RichTextBox.C1PainterMerger.#ctor">
          <a class="xref" href="C1.WPF.RichTextBox.C1PainterMerger.-ctor.html#C1_WPF_RichTextBox_C1PainterMerger__ctor">C1PainterMerger()</a>
        </td>
        <td class="markdown level1 summary"><p>Constructs a new <a class="xref" href="C1.WPF.RichTextBox.C1PainterMerger.html">C1PainterMerger</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_C1PainterMerger_Painters" data-uid="C1.WPF.RichTextBox.C1PainterMerger.Painters">
          <a class="xref" href="C1.WPF.RichTextBox.C1PainterMerger.Painters.html#C1_WPF_RichTextBox_C1PainterMerger_Painters">Painters</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of <a class="xref" href="C1.WPF.RichTextBox.IRichTextPainter.html">IRichTextPainter</a> merged by this <a class="xref" href="C1.WPF.RichTextBox.C1PainterMerger.html">C1PainterMerger</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_C1PainterMerger_Paint_C1_WPF_RichTextBox_C1PaintingContext_" data-uid="C1.WPF.RichTextBox.C1PainterMerger.Paint(C1.WPF.RichTextBox.C1PaintingContext)">
          <a class="xref" href="C1.WPF.RichTextBox.C1PainterMerger.Paint.html#C1_WPF_RichTextBox_C1PainterMerger_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_C1PainterMerger_PaintInline_C1_WPF_RichTextBox_C1PaintingContext_C1_WPF_RichTextBox_C1Line_" data-uid="C1.WPF.RichTextBox.C1PainterMerger.PaintInline(C1.WPF.RichTextBox.C1PaintingContext,C1.WPF.RichTextBox.C1Line)">
          <a class="xref" href="C1.WPF.RichTextBox.C1PainterMerger.PaintInline.html#C1_WPF_RichTextBox_C1PainterMerger_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_C1PainterMerger_PainterChanged" data-uid="C1.WPF.RichTextBox.C1PainterMerger.PainterChanged">
          <a class="xref" href="C1.WPF.RichTextBox.C1PainterMerger.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>
