# FarPoint.Win.ColorPicker

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_ColorPicker" data-uid="FarPoint.Win.ColorPicker" class="text-break">ColorPicker Class
</h1>
  <div class="markdown level0 summary"><p>Represents a color picker.</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="https://learn.microsoft.com/dotnet/api/system.marshalbyrefobject">MarshalByRefObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.component">Component</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.control">Control</a></div>
    <div class="level4"><span class="xref">ColorPicker</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.idroptarget">IDropTarget</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isynchronizeinvoke">ISynchronizeInvoke</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.iwin32window">IWin32Window</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.ibindablecomponent">IBindableComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icomponent">IComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Win.html">FarPoint.Win</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.dll</h6>
  <h5 id="FarPoint_Win_ColorPicker_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ColorPicker : Control, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ColorPicker
    Inherits Control
    Implements IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable</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="FarPoint_Win_ColorPicker__ctor" data-uid="FarPoint.Win.ColorPicker.#ctor">
          <a class="xref" href="FarPoint.Win.ColorPicker.-ctor.html#FarPoint_Win_ColorPicker__ctor">ColorPicker()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a color picker with the default color name.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ColorPicker__ctor_System_Drawing_Color_" data-uid="FarPoint.Win.ColorPicker.#ctor(System.Drawing.Color)">
          <a class="xref" href="FarPoint.Win.ColorPicker.-ctor.html#FarPoint_Win_ColorPicker__ctor_System_Drawing_Color_">ColorPicker(Color)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a color picker with the specified color.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ColorPicker__ctor_System_Drawing_Color_System_Boolean_" data-uid="FarPoint.Win.ColorPicker.#ctor(System.Drawing.Color,System.Boolean)">
          <a class="xref" href="FarPoint.Win.ColorPicker.-ctor.html#FarPoint_Win_ColorPicker__ctor_System_Drawing_Color_System_Boolean_">ColorPicker(Color, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a color picker with the specified color and whether to use the drop-down control.</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="FarPoint_Win_ColorPicker_Color" data-uid="FarPoint.Win.ColorPicker.Color">
          <a class="xref" href="FarPoint.Win.ColorPicker.Color.html#FarPoint_Win_ColorPicker_Color">Color</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the currently selected color.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ColorPicker_Height" data-uid="FarPoint.Win.ColorPicker.Height">
          <a class="xref" href="FarPoint.Win.ColorPicker.Height.html#FarPoint_Win_ColorPicker_Height">Height</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the height of the color picker.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ColorPicker_ShowColorName" data-uid="FarPoint.Win.ColorPicker.ShowColorName">
          <a class="xref" href="FarPoint.Win.ColorPicker.ShowColorName.html#FarPoint_Win_ColorPicker_ShowColorName">ShowColorName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the whether the color picker displays the name of the currently selected color.</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="FarPoint_Win_ColorPicker_CloseDropDown" data-uid="FarPoint.Win.ColorPicker.CloseDropDown">
          <a class="xref" href="FarPoint.Win.ColorPicker.CloseDropDown.html#FarPoint_Win_ColorPicker_CloseDropDown">CloseDropDown()</a>
        </td>
        <td class="markdown level1 summary"><p>Closes the drop-down control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ColorPicker_OnColorChanged_System_EventArgs_" data-uid="FarPoint.Win.ColorPicker.OnColorChanged(System.EventArgs)">
          <a class="xref" href="FarPoint.Win.ColorPicker.OnColorChanged.html#FarPoint_Win_ColorPicker_OnColorChanged_System_EventArgs_">OnColorChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Fires the ColorChanged event.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ColorPicker_SetColor_System_Drawing_Color_" data-uid="FarPoint.Win.ColorPicker.SetColor(System.Drawing.Color)">
          <a class="xref" href="FarPoint.Win.ColorPicker.SetColor.html#FarPoint_Win_ColorPicker_SetColor_System_Drawing_Color_">SetColor(Color)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the associated check box color and text according to the TextDisplayed property value.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ColorPicker_ShowDropDown" data-uid="FarPoint.Win.ColorPicker.ShowDropDown">
          <a class="xref" href="FarPoint.Win.ColorPicker.ShowDropDown.html#FarPoint_Win_ColorPicker_ShowDropDown">ShowDropDown()</a>
        </td>
        <td class="markdown level1 summary"><p>Shows the drop-down control.</p>
</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="FarPoint_Win_ColorPicker_ColorChanged" data-uid="FarPoint.Win.ColorPicker.ColorChanged">
          <a class="xref" href="FarPoint.Win.ColorPicker.ColorChanged.html">ColorChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the Color property changes.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
