# C1.WPF.PropertyGrid.ColorPaletteEditor

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_PropertyGrid_ColorPaletteEditor" data-uid="C1.WPF.PropertyGrid.ColorPaletteEditor" class="text-break">ColorPaletteEditor Class
</h1>
  <div class="markdown level0 summary"><p>Default editor used by C1PropertyGrid to edit ColorPalette values.</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"><a class="xref" href="C1.WPF.PropertyGrid.BaseEditor-2.html">BaseEditor</a>&lt;<span class="xref">ColorPalette</span>, <span class="xref">C1ComboBox</span>&gt;</div>
    <div class="level2"><span class="xref">ColorPaletteEditor</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="C1.WPF.PropertyGrid.IPropertyGridEditor.html">IPropertyGridEditor</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.PropertyGrid.html">C1.WPF.PropertyGrid</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.PropertyGrid.dll</h6>
  <h5 id="C1_WPF_PropertyGrid_ColorPaletteEditor_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ColorPaletteEditor : BaseEditor&lt;ColorPalette, C1ComboBox&gt;, IPropertyGridEditor</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ColorPaletteEditor
    Inherits BaseEditor(Of ColorPalette, C1ComboBox)
    Implements IPropertyGridEditor</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_PropertyGrid_ColorPaletteEditor__ctor" data-uid="C1.WPF.PropertyGrid.ColorPaletteEditor.#ctor">
          <a class="xref" href="C1.WPF.PropertyGrid.ColorPaletteEditor.-ctor.html#C1_WPF_PropertyGrid_ColorPaletteEditor__ctor">ColorPaletteEditor()</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_PropertyGrid_ColorPaletteEditor_Attach_C1_WPF_Input_C1ComboBox_C1_WPF_PropertyGrid_PropertyGroup_System_Action_C1_WPF_Input_C1ComboBox_System_Object__" data-uid="C1.WPF.PropertyGrid.ColorPaletteEditor.Attach(C1.WPF.Input.C1ComboBox,C1.WPF.PropertyGrid.PropertyGroup,System.Action{C1.WPF.Input.C1ComboBox,System.Object})">
          <a class="xref" href="C1.WPF.PropertyGrid.ColorPaletteEditor.Attach.html#C1_WPF_PropertyGrid_ColorPaletteEditor_Attach_C1_WPF_Input_C1ComboBox_C1_WPF_PropertyGrid_PropertyGroup_System_Action_C1_WPF_Input_C1ComboBox_System_Object__">Attach(C1ComboBox, PropertyGroup, Action&lt;C1ComboBox, object&gt;)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_PropertyGrid_ColorPaletteEditor_Create_C1_WPF_PropertyGrid_C1PropertyGrid_" data-uid="C1.WPF.PropertyGrid.ColorPaletteEditor.Create(C1.WPF.PropertyGrid.C1PropertyGrid)">
          <a class="xref" href="C1.WPF.PropertyGrid.ColorPaletteEditor.Create.html#C1_WPF_PropertyGrid_ColorPaletteEditor_Create_C1_WPF_PropertyGrid_C1PropertyGrid_">Create(C1PropertyGrid)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_PropertyGrid_ColorPaletteEditor_Detach_C1_WPF_Input_C1ComboBox_C1_WPF_PropertyGrid_PropertyGroup_" data-uid="C1.WPF.PropertyGrid.ColorPaletteEditor.Detach(C1.WPF.Input.C1ComboBox,C1.WPF.PropertyGrid.PropertyGroup)">
          <a class="xref" href="C1.WPF.PropertyGrid.ColorPaletteEditor.Detach.html#C1_WPF_PropertyGrid_ColorPaletteEditor_Detach_C1_WPF_Input_C1ComboBox_C1_WPF_PropertyGrid_PropertyGroup_">Detach(C1ComboBox, PropertyGroup)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
