# C1.Maui.Core.C1CheckBox

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Maui_Core_C1CheckBox" data-uid="C1.Maui.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"><a class="xref" href="C1.Maui.Core.C1View.html">C1View</a></div>
    <div class="level2"><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.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Maui.Core.html">C1.Maui.Core</a></h6>
  <h6><strong>Assembly</strong>: C1.Maui.Core.dll</h6>
  <h5 id="C1_Maui_Core_C1CheckBox_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1CheckBox : C1View, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1CheckBox
    Inherits C1View
    Implements 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="C1_Maui_Core_C1CheckBox__ctor" data-uid="C1.Maui.Core.C1CheckBox.#ctor">
          <a class="xref" href="C1.Maui.Core.C1CheckBox.-ctor.html#C1_Maui_Core_C1CheckBox__ctor">C1CheckBox()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Maui.Core.C1CheckBox.html">C1CheckBox</a> class.</p>
</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_Maui_Core_C1CheckBox_IsCheckedProperty" data-uid="C1.Maui.Core.C1CheckBox.IsCheckedProperty">
          <a class="xref" href="C1.Maui.Core.C1CheckBox.IsCheckedProperty.html">IsCheckedProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Maui.Core.C1CheckBox.IsChecked.html#C1_Maui_Core_C1CheckBox_IsChecked">IsChecked</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1CheckBox_IsReadOnlyProperty" data-uid="C1.Maui.Core.C1CheckBox.IsReadOnlyProperty">
          <a class="xref" href="C1.Maui.Core.C1CheckBox.IsReadOnlyProperty.html">IsReadOnlyProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Maui.Core.C1CheckBox.IsReadOnly.html#C1_Maui_Core_C1CheckBox_IsReadOnly">IsReadOnly</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1CheckBox_IsThreeStateProperty" data-uid="C1.Maui.Core.C1CheckBox.IsThreeStateProperty">
          <a class="xref" href="C1.Maui.Core.C1CheckBox.IsThreeStateProperty.html">IsThreeStateProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Maui.Core.C1CheckBox.IsThreeState.html#C1_Maui_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_Maui_Core_C1CheckBox_IsChecked" data-uid="C1.Maui.Core.C1CheckBox.IsChecked">
          <a class="xref" href="C1.Maui.Core.C1CheckBox.IsChecked.html#C1_Maui_Core_C1CheckBox_IsChecked">IsChecked</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the <a class="xref" href="C1.Maui.Core.C1CheckBox.html">C1CheckBox</a> is checked.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1CheckBox_IsReadOnly" data-uid="C1.Maui.Core.C1CheckBox.IsReadOnly">
          <a class="xref" href="C1.Maui.Core.C1CheckBox.IsReadOnly.html#C1_Maui_Core_C1CheckBox_IsReadOnly">IsReadOnly</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the <a class="xref" href="C1.Maui.Core.C1CheckBox.html">C1CheckBox</a> is read only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1CheckBox_IsThreeState" data-uid="C1.Maui.Core.C1CheckBox.IsThreeState">
          <a class="xref" href="C1.Maui.Core.C1CheckBox.IsThreeState.html#C1_Maui_Core_C1CheckBox_IsThreeState">IsThreeState</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether <a class="xref" href="C1.Maui.Core.C1CheckBox.html">C1CheckBox</a> supports indeterminate state.</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_Maui_Core_C1CheckBox_Dispose_System_Boolean_" data-uid="C1.Maui.Core.C1CheckBox.Dispose(System.Boolean)">
          <a class="xref" href="C1.Maui.Core.C1CheckBox.Dispose.html#C1_Maui_Core_C1CheckBox_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1CheckBox_OnChecked_System_EventArgs_" data-uid="C1.Maui.Core.C1CheckBox.OnChecked(System.EventArgs)">
          <a class="xref" href="C1.Maui.Core.C1CheckBox.OnChecked.html#C1_Maui_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_Maui_Core_C1CheckBox_OnForegroundChanged" data-uid="C1.Maui.Core.C1CheckBox.OnForegroundChanged">
          <a class="xref" href="C1.Maui.Core.C1CheckBox.OnForegroundChanged.html#C1_Maui_Core_C1CheckBox_OnForegroundChanged">OnForegroundChanged()</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the foreground changed.</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_Maui_Core_C1CheckBox_Checked" data-uid="C1.Maui.Core.C1CheckBox.Checked">
          <a class="xref" href="C1.Maui.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>
