# C1.WPF.RichTextBox.C1ButtonTool

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_RichTextBox_C1ButtonTool" data-uid="C1.WPF.RichTextBox.C1ButtonTool" class="text-break">C1ButtonTool Class
</h1>
  <div class="markdown level0 summary"><p>Abstract base class for <a class="xref" href="C1.WPF.RichTextBox.C1RichTextBoxToolbar.html">C1RichTextBoxToolbar</a> button tools.</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">C1ButtonTool</span></div>
      <div class="level2"><a class="xref" href="C1.WPF.RichTextBox.C1CopyTool.html">C1CopyTool</a></div>
      <div class="level2"><a class="xref" href="C1.WPF.RichTextBox.C1CutTool.html">C1CutTool</a></div>
      <div class="level2"><a class="xref" href="C1.WPF.RichTextBox.C1DecreaseFontSizeTool.html">C1DecreaseFontSizeTool</a></div>
      <div class="level2"><a class="xref" href="C1.WPF.RichTextBox.C1FitWidthTool.html">C1FitWidthTool</a></div>
      <div class="level2"><a class="xref" href="C1.WPF.RichTextBox.C1IncreaseFontSizeTool.html">C1IncreaseFontSizeTool</a></div>
      <div class="level2"><a class="xref" href="C1.WPF.RichTextBox.C1InsertColumnsLeftTool.html">C1InsertColumnsLeftTool</a></div>
      <div class="level2"><a class="xref" href="C1.WPF.RichTextBox.C1InsertColumnsRightTool.html">C1InsertColumnsRightTool</a></div>
      <div class="level2"><a class="xref" href="C1.WPF.RichTextBox.C1InsertHyperlinkTool.html">C1InsertHyperlinkTool</a></div>
      <div class="level2"><a class="xref" href="C1.WPF.RichTextBox.C1InsertImageTool.html">C1InsertImageTool</a></div>
      <div class="level2"><a class="xref" href="C1.WPF.RichTextBox.C1InsertRowsAboveTool.html">C1InsertRowsAboveTool</a></div>
      <div class="level2"><a class="xref" href="C1.WPF.RichTextBox.C1InsertRowsBelowTool.html">C1InsertRowsBelowTool</a></div>
      <div class="level2"><a class="xref" href="C1.WPF.RichTextBox.C1MergeCellsTool.html">C1MergeCellsTool</a></div>
      <div class="level2"><a class="xref" href="C1.WPF.RichTextBox.C1OnePageTool.html">C1OnePageTool</a></div>
      <div class="level2"><a class="xref" href="C1.WPF.RichTextBox.C1PasteTool.html">C1PasteTool</a></div>
      <div class="level2"><a class="xref" href="C1.WPF.RichTextBox.C1RedoTool.html">C1RedoTool</a></div>
      <div class="level2"><a class="xref" href="C1.WPF.RichTextBox.C1RemoveHyperlinkTool.html">C1RemoveHyperlinkTool</a></div>
      <div class="level2"><a class="xref" href="C1.WPF.RichTextBox.C1SpellCheckTool.html">C1SpellCheckTool</a></div>
      <div class="level2"><a class="xref" href="C1.WPF.RichTextBox.C1TwoPagesTool.html">C1TwoPagesTool</a></div>
      <div class="level2"><a class="xref" href="C1.WPF.RichTextBox.C1UndoTool.html">C1UndoTool</a></div>
      <div class="level2"><a class="xref" href="C1.WPF.RichTextBox.C1UnmergeCellTool.html">C1UnmergeCellTool</a></div>
      <div class="level2"><a class="xref" href="C1.WPF.RichTextBox.C1Zoom100PercentTool.html">C1Zoom100PercentTool</a></div>
      <div class="level2"><a class="xref" href="C1.WPF.RichTextBox.C1ZoomInTool.html">C1ZoomInTool</a></div>
      <div class="level2"><a class="xref" href="C1.WPF.RichTextBox.C1ZoomOutTool.html">C1ZoomOutTool</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_C1ButtonTool_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class C1ButtonTool : C1ToolbarButton</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class C1ButtonTool
    Inherits C1ToolbarButton</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_C1ButtonTool__ctor" data-uid="C1.WPF.RichTextBox.C1ButtonTool.#ctor">
          <a class="xref" href="C1.WPF.RichTextBox.C1ButtonTool.-ctor.html#C1_WPF_RichTextBox_C1ButtonTool__ctor">C1ButtonTool()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.WPF.RichTextBox.C1ButtonTool.html">C1ButtonTool</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_C1ButtonTool_RichTextBoxProperty" data-uid="C1.WPF.RichTextBox.C1ButtonTool.RichTextBoxProperty">
          <a class="xref" href="C1.WPF.RichTextBox.C1ButtonTool.RichTextBoxProperty.html">RichTextBoxProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.RichTextBox.C1ButtonTool.RichTextBox.html#C1_WPF_RichTextBox_C1ButtonTool_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_C1ButtonTool_RichTextBox" data-uid="C1.WPF.RichTextBox.C1ButtonTool.RichTextBox">
          <a class="xref" href="C1.WPF.RichTextBox.C1ButtonTool.RichTextBox.html#C1_WPF_RichTextBox_C1ButtonTool_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>
      <tr>
        <td id="C1_WPF_RichTextBox_C1ButtonTool_TrimRuns" data-uid="C1.WPF.RichTextBox.C1ButtonTool.TrimRuns">
          <a class="xref" href="C1.WPF.RichTextBox.C1ButtonTool.TrimRuns.html#C1_WPF_RichTextBox_C1ButtonTool_TrimRuns">TrimRuns</a>
        </td>
        <td class="markdown level1 summary"></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_C1ButtonTool_Do_C1_WPF_RichTextBox_Documents_C1TextRange_" data-uid="C1.WPF.RichTextBox.C1ButtonTool.Do(C1.WPF.RichTextBox.Documents.C1TextRange)">
          <a class="xref" href="C1.WPF.RichTextBox.C1ButtonTool.Do.html#C1_WPF_RichTextBox_C1ButtonTool_Do_C1_WPF_RichTextBox_Documents_C1TextRange_">Do(C1TextRange)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1ButtonTool_OnClick" data-uid="C1.WPF.RichTextBox.C1ButtonTool.OnClick">
          <a class="xref" href="C1.WPF.RichTextBox.C1ButtonTool.OnClick.html#C1_WPF_RichTextBox_C1ButtonTool_OnClick">OnClick()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
