# C1.Win.Input.C1CheckBox

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Input_C1CheckBox" data-uid="C1.Win.Input.C1CheckBox" class="text-break">C1CheckBox Class
</h1>
  <div class="markdown level0 summary"><p>Represents a Windows checkbox control.</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="../C1.Win.10/C1.Framework.XViewLight.html">XViewLight</a></div>
    <div class="level5"><a class="xref" href="C1.Win.Input.Base.C1InputControl.html">C1InputControl</a></div>
    <div class="level6"><a class="xref" href="C1.Win.Input.Base.C1ButtonBase.html">C1ButtonBase</a></div>
    <div class="level7"><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="../C1.Win.10/C1.Framework.IView.html">IView</a></div>
    <div><a class="xref" href="../C1.Win.10/C1.Win.Accessibility.ISupportUia.html">ISupportUia</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitialize">ISupportInitialize</a></div>
    <div><a class="xref" href="../C1.Win.10/C1.Win.Accessibility.Items.BaseInterfaces.IUiaToggleProvider.html">IUiaToggleProvider</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Input.html">C1.Win.Input</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.Input.10.dll</h6>
  <h5 id="C1_Win_Input_C1CheckBox_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[DefaultBindingProperty(&quot;CheckState&quot;)]
[ToolboxBitmap(typeof(C1CheckBox), &quot;C1CheckBox.png&quot;)]
public class C1CheckBox : C1ButtonBase, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IView, ISupportUia, ISupportInitialize, IUiaToggleProvider</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;DefaultBindingProperty(&quot;CheckState&quot;)&gt;
&lt;ToolboxBitmap(GetType(C1CheckBox), &quot;C1CheckBox.png&quot;)&gt;
Public Class C1CheckBox
    Inherits C1ButtonBase
    Implements IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IView, ISupportUia, ISupportInitialize, IUiaToggleProvider</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_Input_C1CheckBox__ctor" data-uid="C1.Win.Input.C1CheckBox.#ctor">
          <a class="xref" href="C1.Win.Input.C1CheckBox.-ctor.html#C1_Win_Input_C1CheckBox__ctor">C1CheckBox()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.Input.C1CheckBox.html">C1CheckBox</a> 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_Input_C1CheckBox_Appearance" data-uid="C1.Win.Input.C1CheckBox.Appearance">
          <a class="xref" href="C1.Win.Input.C1CheckBox.Appearance.html#C1_Win_Input_C1CheckBox_Appearance">Appearance</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the value that determines the appearance of a <a class="xref" href="C1.Win.Input.C1CheckBox.html">C1CheckBox</a> control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1CheckBox_AutoCheck" data-uid="C1.Win.Input.C1CheckBox.AutoCheck">
          <a class="xref" href="C1.Win.Input.C1CheckBox.AutoCheck.html#C1_Win_Input_C1CheckBox_AutoCheck">AutoCheck</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or set a value indicating whether the <a class="xref" href="C1.Win.Input.C1CheckBox.Checked.html#C1_Win_Input_C1CheckBox_Checked">Checked</a> or <a class="xref" href="C1.Win.Input.C1CheckBox.CheckState.html#C1_Win_Input_C1CheckBox_CheckState">CheckState</a> values and the C1CheckBox's appearance are automatically changed when the <a class="xref" href="C1.Win.Input.C1CheckBox.html">C1CheckBox</a> is clicked.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1CheckBox_CheckAlign" data-uid="C1.Win.Input.C1CheckBox.CheckAlign">
          <a class="xref" href="C1.Win.Input.C1CheckBox.CheckAlign.html#C1_Win_Input_C1CheckBox_CheckAlign">CheckAlign</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the horizontal and vertical alignment of the check mark on a <a class="xref" href="C1.Win.Input.C1CheckBox.html">C1CheckBox</a> control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1CheckBox_CheckState" data-uid="C1.Win.Input.C1CheckBox.CheckState">
          <a class="xref" href="C1.Win.Input.C1CheckBox.CheckState.html#C1_Win_Input_C1CheckBox_CheckState">CheckState</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the state of the <a class="xref" href="C1.Win.Input.C1CheckBox.html">C1CheckBox</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1CheckBox_Checked" data-uid="C1.Win.Input.C1CheckBox.Checked">
          <a class="xref" href="C1.Win.Input.C1CheckBox.Checked.html#C1_Win_Input_C1CheckBox_Checked">Checked</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or set a value indicating whether the <a class="xref" href="C1.Win.Input.C1CheckBox.html">C1CheckBox</a> is in the checked state.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1CheckBox_CheckedIcon" data-uid="C1.Win.Input.C1CheckBox.CheckedIcon">
          <a class="xref" href="C1.Win.Input.C1CheckBox.CheckedIcon.html#C1_Win_Input_C1CheckBox_CheckedIcon">CheckedIcon</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a custom <a class="xref" href="../C1.Win.10/C1.Framework.C1Icon.html">C1Icon</a> for the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.checkstate#system-windows-forms-checkstate-checked">Checked</a> checkbox state.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1CheckBox_DataMember" data-uid="C1.Win.Input.C1CheckBox.DataMember">
          <a class="xref" href="C1.Win.Input.C1CheckBox.DataMember.html#C1_Win_Input_C1CheckBox_DataMember">DataMember</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the member of the data source object to which the control is bound.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1CheckBox_DataSource" data-uid="C1.Win.Input.C1CheckBox.DataSource">
          <a class="xref" href="C1.Win.Input.C1CheckBox.DataSource.html#C1_Win_Input_C1CheckBox_DataSource">DataSource</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the data source object to which the control is bound.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1CheckBox_DataType" data-uid="C1.Win.Input.C1CheckBox.DataType">
          <a class="xref" href="C1.Win.Input.C1CheckBox.DataType.html#C1_Win_Input_C1CheckBox_DataType">DataType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the type of the <a class="xref" href="C1.Win.Input.C1CheckBox.Value.html#C1_Win_Input_C1CheckBox_Value">Value</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1CheckBox_DefaultSize" data-uid="C1.Win.Input.C1CheckBox.DefaultSize">
          <a class="xref" href="C1.Win.Input.C1CheckBox.DefaultSize.html#C1_Win_Input_C1CheckBox_DefaultSize">DefaultSize</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the default size of the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1CheckBox_DisableOnNoData" data-uid="C1.Win.Input.C1CheckBox.DisableOnNoData">
          <a class="xref" href="C1.Win.Input.C1CheckBox.DisableOnNoData.html#C1_Win_Input_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_Input_C1CheckBox_IndeterminateIcon" data-uid="C1.Win.Input.C1CheckBox.IndeterminateIcon">
          <a class="xref" href="C1.Win.Input.C1CheckBox.IndeterminateIcon.html#C1_Win_Input_C1CheckBox_IndeterminateIcon">IndeterminateIcon</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a custom <a class="xref" href="../C1.Win.10/C1.Framework.C1Icon.html">C1Icon</a> for the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.checkstate#system-windows-forms-checkstate-indeterminate">Indeterminate</a> checkbox state.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1CheckBox_Styles" data-uid="C1.Win.Input.C1CheckBox.Styles">
          <a class="xref" href="C1.Win.Input.C1CheckBox.Styles.html#C1_Win_Input_C1CheckBox_Styles">Styles</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="C1.Win.Input.C1CheckBox.html">C1CheckBox</a> styles.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1CheckBox_TextAlign" data-uid="C1.Win.Input.C1CheckBox.TextAlign">
          <a class="xref" href="C1.Win.Input.C1CheckBox.TextAlign.html#C1_Win_Input_C1CheckBox_TextAlign">TextAlign</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the alignment of the text on the button control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1CheckBox_ThreeState" data-uid="C1.Win.Input.C1CheckBox.ThreeState">
          <a class="xref" href="C1.Win.Input.C1CheckBox.ThreeState.html#C1_Win_Input_C1CheckBox_ThreeState">ThreeState</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the <a class="xref" href="C1.Win.Input.C1CheckBox.html">C1CheckBox</a> will allow three check states rather than two.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1CheckBox_TranslateValues" data-uid="C1.Win.Input.C1CheckBox.TranslateValues">
          <a class="xref" href="C1.Win.Input.C1CheckBox.TranslateValues.html#C1_Win_Input_C1CheckBox_TranslateValues">TranslateValues</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the options for translating between the value of the Value property and the checkbox states.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1CheckBox_UncheckedIcon" data-uid="C1.Win.Input.C1CheckBox.UncheckedIcon">
          <a class="xref" href="C1.Win.Input.C1CheckBox.UncheckedIcon.html#C1_Win_Input_C1CheckBox_UncheckedIcon">UncheckedIcon</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a custom <a class="xref" href="../C1.Win.10/C1.Framework.C1Icon.html">C1Icon</a> for the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.checkstate#system-windows-forms-checkstate-unchecked">Unchecked</a> checkbox state.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1CheckBox_Value" data-uid="C1.Win.Input.C1CheckBox.Value">
          <a class="xref" href="C1.Win.Input.C1CheckBox.Value.html#C1_Win_Input_C1CheckBox_Value">Value</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the current <a class="xref" href="C1.Win.Input.C1CheckBox.DataType.html#C1_Win_Input_C1CheckBox_DataType">DataType</a> representation of the visual information contained in 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_Input_C1CheckBox_CreateUiaItem_C1_Win_Accessibility_UiaItem_" data-uid="C1.Win.Input.C1CheckBox.CreateUiaItem(C1.Win.Accessibility.UiaItem)">
          <a class="xref" href="C1.Win.Input.C1CheckBox.CreateUiaItem.html#C1_Win_Input_C1CheckBox_CreateUiaItem_C1_Win_Accessibility_UiaItem_">CreateUiaItem(UiaItem)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates UI Automation object of this control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1CheckBox_OnAppearanceChanged_System_EventArgs_" data-uid="C1.Win.Input.C1CheckBox.OnAppearanceChanged(System.EventArgs)">
          <a class="xref" href="C1.Win.Input.C1CheckBox.OnAppearanceChanged.html#C1_Win_Input_C1CheckBox_OnAppearanceChanged_System_EventArgs_">OnAppearanceChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="C1.Win.Input.C1CheckBox.AppearanceChanged.html">AppearanceChanged</a> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1CheckBox_OnCheckStateChanged_System_EventArgs_" data-uid="C1.Win.Input.C1CheckBox.OnCheckStateChanged(System.EventArgs)">
          <a class="xref" href="C1.Win.Input.C1CheckBox.OnCheckStateChanged.html#C1_Win_Input_C1CheckBox_OnCheckStateChanged_System_EventArgs_">OnCheckStateChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="C1.Win.Input.C1CheckBox.CheckStateChanged.html">CheckStateChanged</a> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1CheckBox_OnCheckedChanged_System_EventArgs_" data-uid="C1.Win.Input.C1CheckBox.OnCheckedChanged(System.EventArgs)">
          <a class="xref" href="C1.Win.Input.C1CheckBox.OnCheckedChanged.html#C1_Win_Input_C1CheckBox_OnCheckedChanged_System_EventArgs_">OnCheckedChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="C1.Win.Input.C1CheckBox.CheckedChanged.html">CheckedChanged</a> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1CheckBox_OnClick_System_EventArgs_" data-uid="C1.Win.Input.C1CheckBox.OnClick(System.EventArgs)">
          <a class="xref" href="C1.Win.Input.C1CheckBox.OnClick.html#C1_Win_Input_C1CheckBox_OnClick_System_EventArgs_">OnClick(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.control.click">Click</a> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1CheckBox_OnMouseUp_System_Windows_Forms_MouseEventArgs_" data-uid="C1.Win.Input.C1CheckBox.OnMouseUp(System.Windows.Forms.MouseEventArgs)">
          <a class="xref" href="C1.Win.Input.C1CheckBox.OnMouseUp.html#C1_Win_Input_C1CheckBox_OnMouseUp_System_Windows_Forms_MouseEventArgs_">OnMouseUp(MouseEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="C1.Win.Input.C1CheckBox.OnMouseUp.html#C1_Win_Input_C1CheckBox_OnMouseUp_System_Windows_Forms_MouseEventArgs_">OnMouseUp(MouseEventArgs)</a> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1CheckBox_OnValueChanged_System_EventArgs_" data-uid="C1.Win.Input.C1CheckBox.OnValueChanged(System.EventArgs)">
          <a class="xref" href="C1.Win.Input.C1CheckBox.OnValueChanged.html#C1_Win_Input_C1CheckBox_OnValueChanged_System_EventArgs_">OnValueChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="C1.Win.Input.C1CheckBox.ValueChanged.html">ValueChanged</a> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1CheckBox_ProcessMnemonic_System_Char_" data-uid="C1.Win.Input.C1CheckBox.ProcessMnemonic(System.Char)">
          <a class="xref" href="C1.Win.Input.C1CheckBox.ProcessMnemonic.html#C1_Win_Input_C1CheckBox_ProcessMnemonic_System_Char_">ProcessMnemonic(char)</a>
        </td>
        <td class="markdown level1 summary"><p>Processes a mnemonic character.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1CheckBox_ToString" data-uid="C1.Win.Input.C1CheckBox.ToString">
          <a class="xref" href="C1.Win.Input.C1CheckBox.ToString.html#C1_Win_Input_C1CheckBox_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Provides information for the <a class="xref" href="C1.Win.Input.C1CheckBox.html">C1CheckBox</a> control in String form.</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="C1_Win_Input_C1CheckBox_AppearanceChanged" data-uid="C1.Win.Input.C1CheckBox.AppearanceChanged">
          <a class="xref" href="C1.Win.Input.C1CheckBox.AppearanceChanged.html">AppearanceChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the value of the <a class="xref" href="C1.Win.Input.C1CheckBox.Appearance.html#C1_Win_Input_C1CheckBox_Appearance">Appearance</a> property changes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1CheckBox_CheckStateChanged" data-uid="C1.Win.Input.C1CheckBox.CheckStateChanged">
          <a class="xref" href="C1.Win.Input.C1CheckBox.CheckStateChanged.html">CheckStateChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the value of the <a class="xref" href="C1.Win.Input.C1CheckBox.CheckState.html#C1_Win_Input_C1CheckBox_CheckState">CheckState</a> property changes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1CheckBox_CheckedChanged" data-uid="C1.Win.Input.C1CheckBox.CheckedChanged">
          <a class="xref" href="C1.Win.Input.C1CheckBox.CheckedChanged.html">CheckedChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the value of the <a class="xref" href="C1.Win.Input.C1CheckBox.Checked.html#C1_Win_Input_C1CheckBox_Checked">Checked</a> property changes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1CheckBox_DoubleClick" data-uid="C1.Win.Input.C1CheckBox.DoubleClick">
          <a class="xref" href="C1.Win.Input.C1CheckBox.DoubleClick.html">DoubleClick</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the user double-clicks the <a class="xref" href="C1.Win.Input.C1Button.html">C1Button</a> control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1CheckBox_MouseDoubleClick" data-uid="C1.Win.Input.C1CheckBox.MouseDoubleClick">
          <a class="xref" href="C1.Win.Input.C1CheckBox.MouseDoubleClick.html">MouseDoubleClick</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the user double-clicks the <a class="xref" href="C1.Win.Input.C1Button.html">C1Button</a> control with the mouse.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_C1CheckBox_ValueChanged" data-uid="C1.Win.Input.C1CheckBox.ValueChanged">
          <a class="xref" href="C1.Win.Input.C1CheckBox.ValueChanged.html">ValueChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the Value property changes.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
