# C1.Win.C1Input.C1CheckBox

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_C1Input_C1CheckBox" data-uid="C1.Win.C1Input.C1CheckBox" class="text-break">C1CheckBox Class
</h1>
  <div class="markdown level0 summary"><p>Represents a Windows checkbox control supporting data binding to data source fields of Boolean, String, or Integer types.</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.buttonbase">ButtonBase</a></div>
    <div class="level5"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.checkbox">CheckBox</a></div>
    <div class="level6"><span class="xref">C1CheckBox</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><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitialize">ISupportInitialize</a></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_C1CheckBox_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[ToolboxBitmap(typeof(C1CheckBox), &quot;C1CheckBox.png&quot;)]
[DefaultBindingProperty(&quot;Value&quot;)]
public class C1CheckBox : CheckBox, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, ISupportInitialize</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;ToolboxBitmap(GetType(C1CheckBox), &quot;C1CheckBox.png&quot;)&gt;
&lt;DefaultBindingProperty(&quot;Value&quot;)&gt;
Public Class C1CheckBox
    Inherits CheckBox
    Implements IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, ISupportInitialize</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_C1CheckBox__ctor" data-uid="C1.Win.C1Input.C1CheckBox.#ctor">
          <a class="xref" href="C1.Win.C1Input.C1CheckBox.-ctor.html#C1_Win_C1Input_C1CheckBox__ctor">C1CheckBox()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the C1CheckBox 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_C1CheckBox_BorderColor" data-uid="C1.Win.C1Input.C1CheckBox.BorderColor">
          <a class="xref" href="C1.Win.C1Input.C1CheckBox.BorderColor.html#C1_Win_C1Input_C1CheckBox_BorderColor">BorderColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the border color of the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1CheckBox_BorderStyle" data-uid="C1.Win.C1Input.C1CheckBox.BorderStyle">
          <a class="xref" href="C1.Win.C1Input.C1CheckBox.BorderStyle.html#C1_Win_C1Input_C1CheckBox_BorderStyle">BorderStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the border style of the C1CheckBox control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1CheckBox_DataField" data-uid="C1.Win.C1Input.C1CheckBox.DataField">
          <a class="xref" href="C1.Win.C1Input.C1CheckBox.DataField.html#C1_Win_C1Input_C1CheckBox_DataField">DataField</a>
        </td>
        <td class="markdown level1 summary"><p>The field of the data source object to which the control is bound.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1CheckBox_DataSource" data-uid="C1.Win.C1Input.C1CheckBox.DataSource">
          <a class="xref" href="C1.Win.C1Input.C1CheckBox.DataSource.html#C1_Win_C1Input_C1CheckBox_DataSource">DataSource</a>
        </td>
        <td class="markdown level1 summary"><p>The data source object to which the control is bound.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1CheckBox_DataType" data-uid="C1.Win.C1Input.C1CheckBox.DataType">
          <a class="xref" href="C1.Win.C1Input.C1CheckBox.DataType.html#C1_Win_C1Input_C1CheckBox_DataType">DataType</a>
        </td>
        <td class="markdown level1 summary"><p>Type of the Value property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1CheckBox_DefaultButtonThemeRootPath" data-uid="C1.Win.C1Input.C1CheckBox.DefaultButtonThemeRootPath">
          <a class="xref" href="C1.Win.C1Input.C1CheckBox.DefaultButtonThemeRootPath.html#C1_Win_C1Input_C1CheckBox_DefaultButtonThemeRootPath">DefaultButtonThemeRootPath</a>
        </td>
        <td class="markdown level1 summary"><p>Default C1Button path in Theme xml file.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1CheckBox_DefaultCheckboxRootPath" data-uid="C1.Win.C1Input.C1CheckBox.DefaultCheckboxRootPath">
          <a class="xref" href="C1.Win.C1Input.C1CheckBox.DefaultCheckboxRootPath.html#C1_Win_C1Input_C1CheckBox_DefaultCheckboxRootPath">DefaultCheckboxRootPath</a>
        </td>
        <td class="markdown level1 summary"><p>Default C1CheckBox path in Theme xml file.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1CheckBox_DisableOnNoData" data-uid="C1.Win.C1Input.C1CheckBox.DisableOnNoData">
          <a class="xref" href="C1.Win.C1Input.C1CheckBox.DisableOnNoData.html#C1_Win_C1Input_C1CheckBox_DisableOnNoData">DisableOnNoData</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the checkbox should be disabled when it is bound to an empty data source, i.e. CurrencyManager.Count = 0.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1CheckBox_TranslateValues" data-uid="C1.Win.C1Input.C1CheckBox.TranslateValues">
          <a class="xref" href="C1.Win.C1Input.C1CheckBox.TranslateValues.html#C1_Win_C1Input_C1CheckBox_TranslateValues">TranslateValues</a>
        </td>
        <td class="markdown level1 summary"><p>Translates between string values and check box states.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1CheckBox_Value" data-uid="C1.Win.C1Input.C1CheckBox.Value">
          <a class="xref" href="C1.Win.C1Input.C1CheckBox.Value.html#C1_Win_C1Input_C1CheckBox_Value">Value</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the current <a class="xref" href="C1.Win.C1Input.C1CheckBox.DataType.html#C1_Win_C1Input_C1CheckBox_DataType">DataType</a> representation of the visual information contained in the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1CheckBox_VisualStyle" data-uid="C1.Win.C1Input.C1CheckBox.VisualStyle">
          <a class="xref" href="C1.Win.C1Input.C1CheckBox.VisualStyle.html#C1_Win_C1Input_C1CheckBox_VisualStyle">VisualStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the visual style of the control.</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_C1CheckBox_BeginInit" data-uid="C1.Win.C1Input.C1CheckBox.BeginInit">
          <a class="xref" href="C1.Win.C1Input.C1CheckBox.BeginInit.html#C1_Win_C1Input_C1CheckBox_BeginInit">BeginInit()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1CheckBox_Dispose_System_Boolean_" data-uid="C1.Win.C1Input.C1CheckBox.Dispose(System.Boolean)">
          <a class="xref" href="C1.Win.C1Input.C1CheckBox.Dispose.html#C1_Win_C1Input_C1CheckBox_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Releases the resources used by the C1CheckBox.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1CheckBox_EndInit" data-uid="C1.Win.C1Input.C1CheckBox.EndInit">
          <a class="xref" href="C1.Win.C1Input.C1CheckBox.EndInit.html#C1_Win_C1Input_C1CheckBox_EndInit">EndInit()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1CheckBox_GetPreferredSize_System_Drawing_Size_" data-uid="C1.Win.C1Input.C1CheckBox.GetPreferredSize(System.Drawing.Size)">
          <a class="xref" href="C1.Win.C1Input.C1CheckBox.GetPreferredSize.html#C1_Win_C1Input_C1CheckBox_GetPreferredSize_System_Drawing_Size_">GetPreferredSize(Size)</a>
        </td>
        <td class="markdown level1 summary"><p>Retrieves the size of a rectangular area into which a control can be fitted.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1CheckBox_OnBackColorChanged_System_EventArgs_" data-uid="C1.Win.C1Input.C1CheckBox.OnBackColorChanged(System.EventArgs)">
          <a class="xref" href="C1.Win.C1Input.C1CheckBox.OnBackColorChanged.html#C1_Win_C1Input_C1CheckBox_OnBackColorChanged_System_EventArgs_">OnBackColorChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1CheckBox_OnCheckStateChanged_System_EventArgs_" data-uid="C1.Win.C1Input.C1CheckBox.OnCheckStateChanged(System.EventArgs)">
          <a class="xref" href="C1.Win.C1Input.C1CheckBox.OnCheckStateChanged.html#C1_Win_C1Input_C1CheckBox_OnCheckStateChanged_System_EventArgs_">OnCheckStateChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Invokes the CheckStateChanged event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1CheckBox_OnCheckedChanged_System_EventArgs_" data-uid="C1.Win.C1Input.C1CheckBox.OnCheckedChanged(System.EventArgs)">
          <a class="xref" href="C1.Win.C1Input.C1CheckBox.OnCheckedChanged.html#C1_Win_C1Input_C1CheckBox_OnCheckedChanged_System_EventArgs_">OnCheckedChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1CheckBox_OnForeColorChanged_System_EventArgs_" data-uid="C1.Win.C1Input.C1CheckBox.OnForeColorChanged(System.EventArgs)">
          <a class="xref" href="C1.Win.C1Input.C1CheckBox.OnForeColorChanged.html#C1_Win_C1Input_C1CheckBox_OnForeColorChanged_System_EventArgs_">OnForeColorChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1CheckBox_OnLayout_System_Windows_Forms_LayoutEventArgs_" data-uid="C1.Win.C1Input.C1CheckBox.OnLayout(System.Windows.Forms.LayoutEventArgs)">
          <a class="xref" href="C1.Win.C1Input.C1CheckBox.OnLayout.html#C1_Win_C1Input_C1CheckBox_OnLayout_System_Windows_Forms_LayoutEventArgs_">OnLayout(LayoutEventArgs)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1CheckBox_OnMouseDown_System_Windows_Forms_MouseEventArgs_" data-uid="C1.Win.C1Input.C1CheckBox.OnMouseDown(System.Windows.Forms.MouseEventArgs)">
          <a class="xref" href="C1.Win.C1Input.C1CheckBox.OnMouseDown.html#C1_Win_C1Input_C1CheckBox_OnMouseDown_System_Windows_Forms_MouseEventArgs_">OnMouseDown(MouseEventArgs)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1CheckBox_OnMouseEnter_System_EventArgs_" data-uid="C1.Win.C1Input.C1CheckBox.OnMouseEnter(System.EventArgs)">
          <a class="xref" href="C1.Win.C1Input.C1CheckBox.OnMouseEnter.html#C1_Win_C1Input_C1CheckBox_OnMouseEnter_System_EventArgs_">OnMouseEnter(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1CheckBox_OnMouseLeave_System_EventArgs_" data-uid="C1.Win.C1Input.C1CheckBox.OnMouseLeave(System.EventArgs)">
          <a class="xref" href="C1.Win.C1Input.C1CheckBox.OnMouseLeave.html#C1_Win_C1Input_C1CheckBox_OnMouseLeave_System_EventArgs_">OnMouseLeave(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1CheckBox_OnMouseMove_System_Windows_Forms_MouseEventArgs_" data-uid="C1.Win.C1Input.C1CheckBox.OnMouseMove(System.Windows.Forms.MouseEventArgs)">
          <a class="xref" href="C1.Win.C1Input.C1CheckBox.OnMouseMove.html#C1_Win_C1Input_C1CheckBox_OnMouseMove_System_Windows_Forms_MouseEventArgs_">OnMouseMove(MouseEventArgs)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1CheckBox_OnMouseUp_System_Windows_Forms_MouseEventArgs_" data-uid="C1.Win.C1Input.C1CheckBox.OnMouseUp(System.Windows.Forms.MouseEventArgs)">
          <a class="xref" href="C1.Win.C1Input.C1CheckBox.OnMouseUp.html#C1_Win_C1Input_C1CheckBox_OnMouseUp_System_Windows_Forms_MouseEventArgs_">OnMouseUp(MouseEventArgs)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1CheckBox_OnPaint_System_Windows_Forms_PaintEventArgs_" data-uid="C1.Win.C1Input.C1CheckBox.OnPaint(System.Windows.Forms.PaintEventArgs)">
          <a class="xref" href="C1.Win.C1Input.C1CheckBox.OnPaint.html#C1_Win_C1Input_C1CheckBox_OnPaint_System_Windows_Forms_PaintEventArgs_">OnPaint(PaintEventArgs)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1CheckBox_OnValueChanged_System_EventArgs_" data-uid="C1.Win.C1Input.C1CheckBox.OnValueChanged(System.EventArgs)">
          <a class="xref" href="C1.Win.C1Input.C1CheckBox.OnValueChanged.html#C1_Win_C1Input_C1CheckBox_OnValueChanged_System_EventArgs_">OnValueChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Invokes the ValueChanged event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1CheckBox_OnVisualStyleChanged_System_EventArgs_" data-uid="C1.Win.C1Input.C1CheckBox.OnVisualStyleChanged(System.EventArgs)">
          <a class="xref" href="C1.Win.C1Input.C1CheckBox.OnVisualStyleChanged.html#C1_Win_C1Input_C1CheckBox_OnVisualStyleChanged_System_EventArgs_">OnVisualStyleChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Invokes the VisualStyleChanged event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1CheckBox_WndProc_System_Windows_Forms_Message__" data-uid="C1.Win.C1Input.C1CheckBox.WndProc(System.Windows.Forms.Message@)">
          <a class="xref" href="C1.Win.C1Input.C1CheckBox.WndProc.html#C1_Win_C1Input_C1CheckBox_WndProc_System_Windows_Forms_Message__">WndProc(ref Message)</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_Win_C1Input_C1CheckBox_ValueChanged" data-uid="C1.Win.C1Input.C1CheckBox.ValueChanged">
          <a class="xref" href="C1.Win.C1Input.C1CheckBox.ValueChanged.html">ValueChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the Value property has changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1CheckBox_VisualStyleChanged" data-uid="C1.Win.C1Input.C1CheckBox.VisualStyleChanged">
          <a class="xref" href="C1.Win.C1Input.C1CheckBox.VisualStyleChanged.html">VisualStyleChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the VisualStyle property has changed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
