# C1.Win.C1Input.C1BasePicker

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_C1Input_C1BasePicker" data-uid="C1.Win.C1Input.C1BasePicker" class="text-break">C1BasePicker Class
</h1>
  <div class="markdown level0 summary"><p>Base class for C1ColorPicker and C1FontPicker controls.</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"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.textboxbase">TextBoxBase</a></div>
    <div class="level5"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.textbox">TextBox</a></div>
    <div class="level6"><a class="xref" href="C1.Win.C1Input.C1TextBox.html">C1TextBox</a></div>
    <div class="level7"><a class="xref" href="C1.Win.C1Input.C1DropDownControl.html">C1DropDownControl</a></div>
    <div class="level8"><span class="xref">C1BasePicker</span></div>
      <div class="level9"><a class="xref" href="C1.Win.C1Input.C1ColorPicker.html">C1ColorPicker</a></div>
      <div class="level9"><a class="xref" href="C1.Win.C1Input.C1FontPicker.html">C1FontPicker</a></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><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitialize">ISupportInitialize</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icustomtypedescriptor">ICustomTypeDescriptor</a></div>
    <div><span class="xref">IEmbeddedEditor</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.C1Input.html">C1.Win.C1Input</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.C1Input.4.8.dll</h6>
  <h5 id="C1_Win_C1Input_C1BasePicker_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1BasePicker : C1DropDownControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, ISupportInitialize, ICustomTypeDescriptor, IEmbeddedEditor</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1BasePicker
    Inherits C1DropDownControl
    Implements IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, ISupportInitialize, ICustomTypeDescriptor, IEmbeddedEditor</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_Win_C1Input_C1BasePicker__ctor" data-uid="C1.Win.C1Input.C1BasePicker.#ctor">
          <a class="xref" href="C1.Win.C1Input.C1BasePicker.-ctor.html#C1_Win_C1Input_C1BasePicker__ctor">C1BasePicker()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the C1BasePicker class.</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_Win_C1Input_C1BasePicker_BorderStyle" data-uid="C1.Win.C1Input.C1BasePicker.BorderStyle">
          <a class="xref" href="C1.Win.C1Input.C1BasePicker.BorderStyle.html#C1_Win_C1Input_C1BasePicker_BorderStyle">BorderStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Determines the style of the control's border.</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_Win_C1Input_C1BasePicker_OnFormatting_C1_Win_C1Input_FormatEventArgs_" data-uid="C1.Win.C1Input.C1BasePicker.OnFormatting(C1.Win.C1Input.FormatEventArgs)">
          <a class="xref" href="C1.Win.C1Input.C1BasePicker.OnFormatting.html#C1_Win_C1Input_C1BasePicker_OnFormatting_C1_Win_C1Input_FormatEventArgs_">OnFormatting(FormatEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>This method is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1BasePicker_OnKeyDown_System_Windows_Forms_KeyEventArgs_" data-uid="C1.Win.C1Input.C1BasePicker.OnKeyDown(System.Windows.Forms.KeyEventArgs)">
          <a class="xref" href="C1.Win.C1Input.C1BasePicker.OnKeyDown.html#C1_Win_C1Input_C1BasePicker_OnKeyDown_System_Windows_Forms_KeyEventArgs_">OnKeyDown(KeyEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>This method is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1BasePicker_OnParsing_C1_Win_C1Input_ParseEventArgs_" data-uid="C1.Win.C1Input.C1BasePicker.OnParsing(C1.Win.C1Input.ParseEventArgs)">
          <a class="xref" href="C1.Win.C1Input.C1BasePicker.OnParsing.html#C1_Win_C1Input_C1BasePicker_OnParsing_C1_Win_C1Input_ParseEventArgs_">OnParsing(ParseEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>This method is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1BasePicker_TextToValue_C1_Win_C1Input_C1BasePicker_TextToValueArgs__" data-uid="C1.Win.C1Input.C1BasePicker.TextToValue(C1.Win.C1Input.C1BasePicker.TextToValueArgs@)">
          <a class="xref" href="C1.Win.C1Input.C1BasePicker.TextToValue.html#C1_Win_C1Input_C1BasePicker_TextToValue_C1_Win_C1Input_C1BasePicker_TextToValueArgs__">TextToValue(ref TextToValueArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Should be overridden in deviced class and convert string to value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1BasePicker_ValueToText_C1_Win_C1Input_C1BasePicker_ValueToTextArgs__" data-uid="C1.Win.C1Input.C1BasePicker.ValueToText(C1.Win.C1Input.C1BasePicker.ValueToTextArgs@)">
          <a class="xref" href="C1.Win.C1Input.C1BasePicker.ValueToText.html#C1_Win_C1Input_C1BasePicker_ValueToText_C1_Win_C1Input_C1BasePicker_ValueToTextArgs__">ValueToText(ref ValueToTextArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Should be overridden in derived class and convert value to string.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
