# C1.Android.Core.C1CheckBox

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Android_Core_C1CheckBox" data-uid="C1.Android.Core.C1CheckBox" class="text-break">C1CheckBox Class
</h1>
  <div class="markdown level0 summary"><p>Represents a control that a user can select and clear.</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">C1CheckBox</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="C1.Android.Core.IDependencyObject.html">IDependencyObject</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Android.Core.html">C1.Android.Core</a></h6>
  <h6><strong>Assembly</strong>: C1.Android.Core.dll</h6>
  <h5 id="C1_Android_Core_C1CheckBox_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1CheckBox : CheckBox, IDependencyObject</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1CheckBox
    Inherits CheckBox
    Implements IDependencyObject</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_Android_Core_C1CheckBox__ctor_Android_Content_Context_" data-uid="C1.Android.Core.C1CheckBox.#ctor(Android.Content.Context)">
          <a class="xref" href="C1.Android.Core.C1CheckBox.-ctor.html#C1_Android_Core_C1CheckBox__ctor_Android_Content_Context_">C1CheckBox(Context)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Android.Core.C1CheckBox.html">C1CheckBox</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1CheckBox__ctor_Android_Content_Context_Android_Util_IAttributeSet_" data-uid="C1.Android.Core.C1CheckBox.#ctor(Android.Content.Context,Android.Util.IAttributeSet)">
          <a class="xref" href="C1.Android.Core.C1CheckBox.-ctor.html#C1_Android_Core_C1CheckBox__ctor_Android_Content_Context_Android_Util_IAttributeSet_">C1CheckBox(Context, IAttributeSet)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Android.Core.C1CheckBox.html">C1CheckBox</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1CheckBox__ctor_Android_Content_Context_Android_Util_IAttributeSet_System_Int32_" data-uid="C1.Android.Core.C1CheckBox.#ctor(Android.Content.Context,Android.Util.IAttributeSet,System.Int32)">
          <a class="xref" href="C1.Android.Core.C1CheckBox.-ctor.html#C1_Android_Core_C1CheckBox__ctor_Android_Content_Context_Android_Util_IAttributeSet_System_Int32_">C1CheckBox(Context, IAttributeSet, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Android.Core.C1CheckBox.html">C1CheckBox</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1CheckBox__ctor_System_IntPtr_Android_Runtime_JniHandleOwnership_" data-uid="C1.Android.Core.C1CheckBox.#ctor(System.IntPtr,Android.Runtime.JniHandleOwnership)">
          <a class="xref" href="C1.Android.Core.C1CheckBox.-ctor.html#C1_Android_Core_C1CheckBox__ctor_System_IntPtr_Android_Runtime_JniHandleOwnership_">C1CheckBox(nint, JniHandleOwnership)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Android_Core_C1CheckBox_ForegroundProperty" data-uid="C1.Android.Core.C1CheckBox.ForegroundProperty">
          <a class="xref" href="C1.Android.Core.C1CheckBox.ForegroundProperty.html">ForegroundProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Android.Core.C1CheckBox.Foreground.html#C1_Android_Core_C1CheckBox_Foreground">Foreground</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1CheckBox_IsCheckedProperty" data-uid="C1.Android.Core.C1CheckBox.IsCheckedProperty">
          <a class="xref" href="C1.Android.Core.C1CheckBox.IsCheckedProperty.html">IsCheckedProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Android.Core.C1CheckBox.IsChecked.html#C1_Android_Core_C1CheckBox_IsChecked">IsChecked</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1CheckBox_IsEnabledProperty" data-uid="C1.Android.Core.C1CheckBox.IsEnabledProperty">
          <a class="xref" href="C1.Android.Core.C1CheckBox.IsEnabledProperty.html">IsEnabledProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Android.Core.C1CheckBox.IsEnabled.html#C1_Android_Core_C1CheckBox_IsEnabled">IsEnabled</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1CheckBox_IsReadOnlyProperty" data-uid="C1.Android.Core.C1CheckBox.IsReadOnlyProperty">
          <a class="xref" href="C1.Android.Core.C1CheckBox.IsReadOnlyProperty.html">IsReadOnlyProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Android.Core.C1CheckBox.IsReadOnly.html#C1_Android_Core_C1CheckBox_IsReadOnly">IsReadOnly</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1CheckBox_IsThreeStateProperty" data-uid="C1.Android.Core.C1CheckBox.IsThreeStateProperty">
          <a class="xref" href="C1.Android.Core.C1CheckBox.IsThreeStateProperty.html">IsThreeStateProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Android.Core.C1CheckBox.IsThreeState.html#C1_Android_Core_C1CheckBox_IsThreeState">IsThreeState</a> dependency property.</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_Android_Core_C1CheckBox_Foreground" data-uid="C1.Android.Core.C1CheckBox.Foreground">
          <a class="xref" href="C1.Android.Core.C1CheckBox.Foreground.html#C1_Android_Core_C1CheckBox_Foreground">Foreground</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color used to paint the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1CheckBox_IsChecked" data-uid="C1.Android.Core.C1CheckBox.IsChecked">
          <a class="xref" href="C1.Android.Core.C1CheckBox.IsChecked.html#C1_Android_Core_C1CheckBox_IsChecked">IsChecked</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the <a class="xref" href="C1.Android.Core.C1CheckBox.html">C1CheckBox</a> is checked.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1CheckBox_IsDisposed" data-uid="C1.Android.Core.C1CheckBox.IsDisposed">
          <a class="xref" href="C1.Android.Core.C1CheckBox.IsDisposed.html#C1_Android_Core_C1CheckBox_IsDisposed">IsDisposed</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether this instance is disposed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1CheckBox_IsEnabled" data-uid="C1.Android.Core.C1CheckBox.IsEnabled">
          <a class="xref" href="C1.Android.Core.C1CheckBox.IsEnabled.html#C1_Android_Core_C1CheckBox_IsEnabled">IsEnabled</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the <a class="xref" href="C1.Android.Core.C1CheckBox.html">C1CheckBox</a> is enabled.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1CheckBox_IsReadOnly" data-uid="C1.Android.Core.C1CheckBox.IsReadOnly">
          <a class="xref" href="C1.Android.Core.C1CheckBox.IsReadOnly.html#C1_Android_Core_C1CheckBox_IsReadOnly">IsReadOnly</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the <a class="xref" href="C1.Android.Core.C1CheckBox.html">C1CheckBox</a> is read only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1CheckBox_IsThreeState" data-uid="C1.Android.Core.C1CheckBox.IsThreeState">
          <a class="xref" href="C1.Android.Core.C1CheckBox.IsThreeState.html#C1_Android_Core_C1CheckBox_IsThreeState">IsThreeState</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether <a class="xref" href="C1.Android.Core.C1CheckBox.html">C1CheckBox</a> supports indeterminate state.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1CheckBox_Tag" data-uid="C1.Android.Core.C1CheckBox.Tag">
          <a class="xref" href="C1.Android.Core.C1CheckBox.Tag.html#C1_Android_Core_C1CheckBox_Tag">Tag</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets an arbitrary object value that can be used to store custom information about this element.</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_Android_Core_C1CheckBox_Dispose_System_Boolean_" data-uid="C1.Android.Core.C1CheckBox.Dispose(System.Boolean)">
          <a class="xref" href="C1.Android.Core.C1CheckBox.Dispose.html#C1_Android_Core_C1CheckBox_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1CheckBox_OnAttachedToWindow" data-uid="C1.Android.Core.C1CheckBox.OnAttachedToWindow">
          <a class="xref" href="C1.Android.Core.C1CheckBox.OnAttachedToWindow.html#C1_Android_Core_C1CheckBox_OnAttachedToWindow">OnAttachedToWindow()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1CheckBox_OnChecked_System_EventArgs_" data-uid="C1.Android.Core.C1CheckBox.OnChecked(System.EventArgs)">
          <a class="xref" href="C1.Android.Core.C1CheckBox.OnChecked.html#C1_Android_Core_C1CheckBox_OnChecked_System_EventArgs_">OnChecked(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <span class="xref">Checked</span> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1CheckBox_OnDetachedFromWindow" data-uid="C1.Android.Core.C1CheckBox.OnDetachedFromWindow">
          <a class="xref" href="C1.Android.Core.C1CheckBox.OnDetachedFromWindow.html#C1_Android_Core_C1CheckBox_OnDetachedFromWindow">OnDetachedFromWindow()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1CheckBox_OnDraw_Android_Graphics_Canvas_" data-uid="C1.Android.Core.C1CheckBox.OnDraw(Android.Graphics.Canvas)">
          <a class="xref" href="C1.Android.Core.C1CheckBox.OnDraw.html#C1_Android_Core_C1CheckBox_OnDraw_Android_Graphics_Canvas_">OnDraw(Canvas)</a>
        </td>
        <td class="markdown level1 summary"><p>Customize the native checkbox drawing.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Core_C1CheckBox_Toggle" data-uid="C1.Android.Core.C1CheckBox.Toggle">
          <a class="xref" href="C1.Android.Core.C1CheckBox.Toggle.html#C1_Android_Core_C1CheckBox_Toggle">Toggle()</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_Android_Core_C1CheckBox_Checked" data-uid="C1.Android.Core.C1CheckBox.Checked">
          <a class="xref" href="C1.Android.Core.C1CheckBox.Checked.html">Checked</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs after the value of checkBox changes</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
