# C1.WPF.RichTextBox.C1ColorPickerMenuItem

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_RichTextBox_C1ColorPickerMenuItem" data-uid="C1.WPF.RichTextBox.C1ColorPickerMenuItem" class="text-break">C1ColorPickerMenuItem Class
</h1>
  <div class="markdown level0 summary"><p>The <span class="xref">C1.WPF.C1MenuItem</span> used in <a class="xref" href="C1.WPF.RichTextBox.C1BorderTool.html">C1BorderTool</a> to pick colors.</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">C1ColorPickerMenuItem</span></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_C1ColorPickerMenuItem_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1ColorPickerMenuItem : C1MenuItem</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1ColorPickerMenuItem
    Inherits C1MenuItem</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_C1ColorPickerMenuItem__ctor" data-uid="C1.WPF.RichTextBox.C1ColorPickerMenuItem.#ctor">
          <a class="xref" href="C1.WPF.RichTextBox.C1ColorPickerMenuItem.-ctor.html#C1_WPF_RichTextBox_C1ColorPickerMenuItem__ctor">C1ColorPickerMenuItem()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.WPF.RichTextBox.C1ColorPickerMenuItem.html">C1ColorPickerMenuItem</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_C1ColorPickerMenuItem_BrushProperty" data-uid="C1.WPF.RichTextBox.C1ColorPickerMenuItem.BrushProperty">
          <a class="xref" href="C1.WPF.RichTextBox.C1ColorPickerMenuItem.BrushProperty.html">BrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.RichTextBox.C1ColorPickerMenuItem.Brush.html#C1_WPF_RichTextBox_C1ColorPickerMenuItem_Brush">Brush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1ColorPickerMenuItem_IconTemplateProperty" data-uid="C1.WPF.RichTextBox.C1ColorPickerMenuItem.IconTemplateProperty">
          <a class="xref" href="C1.WPF.RichTextBox.C1ColorPickerMenuItem.IconTemplateProperty.html">IconTemplateProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.RichTextBox.C1ColorPickerMenuItem.IconTemplate.html#C1_WPF_RichTextBox_C1ColorPickerMenuItem_IconTemplate">IconTemplate</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_C1ColorPickerMenuItem_Brush" data-uid="C1.WPF.RichTextBox.C1ColorPickerMenuItem.Brush">
          <a class="xref" href="C1.WPF.RichTextBox.C1ColorPickerMenuItem.Brush.html#C1_WPF_RichTextBox_C1ColorPickerMenuItem_Brush">Brush</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets brush value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1ColorPickerMenuItem_IconTemplate" data-uid="C1.WPF.RichTextBox.C1ColorPickerMenuItem.IconTemplate">
          <a class="xref" href="C1.WPF.RichTextBox.C1ColorPickerMenuItem.IconTemplate.html#C1_WPF_RichTextBox_C1ColorPickerMenuItem_IconTemplate">IconTemplate</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the icon template.</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_C1ColorPickerMenuItem_OnApplyTemplate" data-uid="C1.WPF.RichTextBox.C1ColorPickerMenuItem.OnApplyTemplate">
          <a class="xref" href="C1.WPF.RichTextBox.C1ColorPickerMenuItem.OnApplyTemplate.html#C1_WPF_RichTextBox_C1ColorPickerMenuItem_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"><p>Builds the visual tree for the <a class="xref" href="C1.WPF.RichTextBox.C1ColorPickerMenuItem.html">C1ColorPickerMenuItem</a> control when a new template is applied.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1ColorPickerMenuItem_PrepareContainerForItemOverride_System_Windows_DependencyObject_System_Object_" data-uid="C1.WPF.RichTextBox.C1ColorPickerMenuItem.PrepareContainerForItemOverride(System.Windows.DependencyObject,System.Object)">
          <a class="xref" href="C1.WPF.RichTextBox.C1ColorPickerMenuItem.PrepareContainerForItemOverride.html#C1_WPF_RichTextBox_C1ColorPickerMenuItem_PrepareContainerForItemOverride_System_Windows_DependencyObject_System_Object_">PrepareContainerForItemOverride(DependencyObject, object)</a>
        </td>
        <td class="markdown level1 summary"></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_C1ColorPickerMenuItem_BrushChanged" data-uid="C1.WPF.RichTextBox.C1ColorPickerMenuItem.BrushChanged">
          <a class="xref" href="C1.WPF.RichTextBox.C1ColorPickerMenuItem.BrushChanged.html">BrushChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Event raised when the <span class="xref">Brush</span> property has changed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
