# C1.WPF.RichTextBox.C1ColorTool

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_RichTextBox_C1ColorTool" data-uid="C1.WPF.RichTextBox.C1ColorTool" class="text-break">C1ColorTool Class
</h1>
  <div class="markdown level0 summary"><p>Abstract base class for color tools in a <a class="xref" href="C1.WPF.RichTextBox.C1RichTextBoxToolbar.html">C1RichTextBoxToolbar</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"><span class="xref">C1ColorTool</span></div>
      <div class="level2"><a class="xref" href="C1.WPF.RichTextBox.C1BorderColorTool.html">C1BorderColorTool</a></div>
      <div class="level2"><a class="xref" href="C1.WPF.RichTextBox.C1FontColorTool.html">C1FontColorTool</a></div>
      <div class="level2"><a class="xref" href="C1.WPF.RichTextBox.C1ParagraphColorTool.html">C1ParagraphColorTool</a></div>
      <div class="level2"><a class="xref" href="C1.WPF.RichTextBox.C1TextHighlightTool.html">C1TextHighlightTool</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.Toolbar.4.6.2.dll</h6>
  <h5 id="C1_WPF_RichTextBox_C1ColorTool_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class C1ColorTool : C1ToolbarDropDown</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class C1ColorTool
    Inherits C1ToolbarDropDown</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_C1ColorTool__ctor" data-uid="C1.WPF.RichTextBox.C1ColorTool.#ctor">
          <a class="xref" href="C1.WPF.RichTextBox.C1ColorTool.-ctor.html#C1_WPF_RichTextBox_C1ColorTool__ctor">C1ColorTool()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.WPF.RichTextBox.C1ColorTool.html">C1ColorTool</a>.</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_C1ColorTool_BrushProperty" data-uid="C1.WPF.RichTextBox.C1ColorTool.BrushProperty">
          <a class="xref" href="C1.WPF.RichTextBox.C1ColorTool.BrushProperty.html">BrushProperty</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1ColorTool_RichTextBoxProperty" data-uid="C1.WPF.RichTextBox.C1ColorTool.RichTextBoxProperty">
          <a class="xref" href="C1.WPF.RichTextBox.C1ColorTool.RichTextBoxProperty.html">RichTextBoxProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.RichTextBox.C1ColorTool.RichTextBox.html#C1_WPF_RichTextBox_C1ColorTool_RichTextBox">RichTextBox</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_C1ColorTool_Brush" data-uid="C1.WPF.RichTextBox.C1ColorTool.Brush">
          <a class="xref" href="C1.WPF.RichTextBox.C1ColorTool.Brush.html#C1_WPF_RichTextBox_C1ColorTool_Brush">Brush</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1ColorTool_RichTextBox" data-uid="C1.WPF.RichTextBox.C1ColorTool.RichTextBox">
          <a class="xref" href="C1.WPF.RichTextBox.C1ColorTool.RichTextBox.html#C1_WPF_RichTextBox_C1ColorTool_RichTextBox">RichTextBox</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="../C1.WPF.RichTextBox.4.6.2/C1.WPF.RichTextBox.C1RichTextBox.html">C1RichTextBox</a> this tool edits.</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_C1ColorTool_OnApplyTemplate" data-uid="C1.WPF.RichTextBox.C1ColorTool.OnApplyTemplate">
          <a class="xref" href="C1.WPF.RichTextBox.C1ColorTool.OnApplyTemplate.html#C1_WPF_RichTextBox_C1ColorTool_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1ColorTool_SetValue_C1_WPF_RichTextBox_Documents_C1TextRange_System_Windows_Media_Brush_" data-uid="C1.WPF.RichTextBox.C1ColorTool.SetValue(C1.WPF.RichTextBox.Documents.C1TextRange,System.Windows.Media.Brush)">
          <a class="xref" href="C1.WPF.RichTextBox.C1ColorTool.SetValue.html#C1_WPF_RichTextBox_C1ColorTool_SetValue_C1_WPF_RichTextBox_Documents_C1TextRange_System_Windows_Media_Brush_">SetValue(C1TextRange, Brush)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
