# C1.Web.Mvc.Fluent.ColorPickerBuilder

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_Fluent_ColorPickerBuilder" data-uid="C1.Web.Mvc.Fluent.ColorPickerBuilder" class="text-break">ColorPickerBuilder Class
</h1>
  <div class="markdown level0 summary"><p>Defines a builder to configurate <a class="xref" href="C1.Web.Mvc.ColorPicker.html">ColorPicker</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">HideObjectMembers</span></div>
    <div class="level2"><a class="xref" href="C1.Web.Mvc.Fluent.BaseBuilder-2.html">BaseBuilder</a>&lt;<a class="xref" href="C1.Web.Mvc.ColorPicker.html">ColorPicker</a>, <a class="xref" href="C1.Web.Mvc.Fluent.ColorPickerBuilder.html">ColorPickerBuilder</a>&gt;</div>
    <div class="level3"><a class="xref" href="C1.Web.Mvc.Fluent.ComponentBuilder-2.html">ComponentBuilder</a>&lt;<a class="xref" href="C1.Web.Mvc.ColorPicker.html">ColorPicker</a>, <a class="xref" href="C1.Web.Mvc.Fluent.ColorPickerBuilder.html">ColorPickerBuilder</a>&gt;</div>
    <div class="level4"><a class="xref" href="C1.Web.Mvc.Fluent.ControlBuilder-2.html">ControlBuilder</a>&lt;<a class="xref" href="C1.Web.Mvc.ColorPicker.html">ColorPicker</a>, <a class="xref" href="C1.Web.Mvc.Fluent.ColorPickerBuilder.html">ColorPickerBuilder</a>&gt;</div>
    <div class="level5"><a class="xref" href="C1.Web.Mvc.Fluent.InputBaseBuilder-2.html">InputBaseBuilder</a>&lt;<a class="xref" href="C1.Web.Mvc.ColorPicker.html">ColorPicker</a>, <a class="xref" href="C1.Web.Mvc.Fluent.ColorPickerBuilder.html">ColorPickerBuilder</a>&gt;</div>
    <div class="level6"><span class="xref">ColorPickerBuilder</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.web.ihtmlstring">IHtmlString</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.Fluent.html">C1.Web.Mvc.Fluent</a></h6>
  <h6><strong>Assembly</strong>: C1.Web.Mvc.dll</h6>
  <h5 id="C1_Web_Mvc_Fluent_ColorPickerBuilder_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ColorPickerBuilder : InputBaseBuilder&lt;ColorPicker, ColorPickerBuilder&gt;, IHtmlString</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ColorPickerBuilder
    Inherits InputBaseBuilder(Of ColorPicker, ColorPickerBuilder)
    Implements IHtmlString</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_Web_Mvc_Fluent_ColorPickerBuilder__ctor_C1_Web_Mvc_ColorPicker_" data-uid="C1.Web.Mvc.Fluent.ColorPickerBuilder.#ctor(C1.Web.Mvc.ColorPicker)">
          <a class="xref" href="C1.Web.Mvc.Fluent.ColorPickerBuilder.-ctor.html#C1_Web_Mvc_Fluent_ColorPickerBuilder__ctor_C1_Web_Mvc_ColorPicker_">ColorPickerBuilder(ColorPicker)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates one <a class="xref" href="C1.Web.Mvc.Fluent.ColorPickerBuilder.html">ColorPickerBuilder</a> instance to configurate <code class="paramref">component</code>.</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_Web_Mvc_Fluent_ColorPickerBuilder_OnClientValueChanged_System_String_" data-uid="C1.Web.Mvc.Fluent.ColorPickerBuilder.OnClientValueChanged(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.ColorPickerBuilder.OnClientValueChanged.html#C1_Web_Mvc_Fluent_ColorPickerBuilder_OnClientValueChanged_System_String_">OnClientValueChanged(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates the <a class="xref" href="C1.Web.Mvc.ColorPicker.OnClientValueChanged.html#C1_Web_Mvc_ColorPicker_OnClientValueChanged">OnClientValueChanged</a> client event.
Occurs after a new color is selected.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_ColorPickerBuilder_Palette_System_Collections_Generic_List_System_Drawing_Color__" data-uid="C1.Web.Mvc.Fluent.ColorPickerBuilder.Palette(System.Collections.Generic.List{System.Drawing.Color})">
          <a class="xref" href="C1.Web.Mvc.Fluent.ColorPickerBuilder.Palette.html#C1_Web_Mvc_Fluent_ColorPickerBuilder_Palette_System_Collections_Generic_List_System_Drawing_Color__">Palette(List&lt;Color&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the Palette property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_ColorPickerBuilder_Palette_System_Drawing_Color___" data-uid="C1.Web.Mvc.Fluent.ColorPickerBuilder.Palette(System.Drawing.Color[])">
          <a class="xref" href="C1.Web.Mvc.Fluent.ColorPickerBuilder.Palette.html#C1_Web_Mvc_Fluent_ColorPickerBuilder_Palette_System_Drawing_Color___">Palette(params Color[])</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the Palette property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_ColorPickerBuilder_ShowAlphaChannel_System_Boolean_" data-uid="C1.Web.Mvc.Fluent.ColorPickerBuilder.ShowAlphaChannel(System.Boolean)">
          <a class="xref" href="C1.Web.Mvc.Fluent.ColorPickerBuilder.ShowAlphaChannel.html#C1_Web_Mvc_Fluent_ColorPickerBuilder_ShowAlphaChannel_System_Boolean_">ShowAlphaChannel(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.ColorPicker.ShowAlphaChannel.html#C1_Web_Mvc_ColorPicker_ShowAlphaChannel">ShowAlphaChannel</a>.
Sets a value indicating whether the ColorPicker allows users to edit the color's alpha channel (transparency).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_ColorPickerBuilder_ShowColorString_System_Boolean_" data-uid="C1.Web.Mvc.Fluent.ColorPickerBuilder.ShowColorString(System.Boolean)">
          <a class="xref" href="C1.Web.Mvc.Fluent.ColorPickerBuilder.ShowColorString.html#C1_Web_Mvc_Fluent_ColorPickerBuilder_ShowColorString_System_Boolean_">ShowColorString(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.ColorPicker.ShowColorString.html#C1_Web_Mvc_ColorPicker_ShowColorString">ShowColorString</a>.
Sets a value indicating whether the ColorPicker shows a string representation of the current color.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_ColorPickerBuilder_Value_System_Drawing_Color_" data-uid="C1.Web.Mvc.Fluent.ColorPickerBuilder.Value(System.Drawing.Color)">
          <a class="xref" href="C1.Web.Mvc.Fluent.ColorPickerBuilder.Value.html#C1_Web_Mvc_Fluent_ColorPickerBuilder_Value_System_Drawing_Color_">Value(Color)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the currently selected color.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="C1.Web.Mvc.Fluent.IHtmlStringExtension.ToTemplate.html#C1_Web_Mvc_Fluent_IHtmlStringExtension_ToTemplate_System_Web_IHtmlString_">IHtmlStringExtension.ToTemplate(IHtmlString)</a>
  </div>

</div>
