# C1.WinUI.Core.C1CheckBox

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WinUI_Core_C1CheckBox" data-uid="C1.WinUI.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="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WinUI.Core.html">C1.WinUI.Core</a></h6>
  <h6><strong>Assembly</strong>: C1.WinUI.Core.dll</h6>
  <h5 id="C1_WinUI_Core_C1CheckBox_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1CheckBox : CheckBox, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1CheckBox
    Inherits CheckBox
    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_WinUI_Core_C1CheckBox__ctor" data-uid="C1.WinUI.Core.C1CheckBox.#ctor">
          <a class="xref" href="C1.WinUI.Core.C1CheckBox.-ctor.html#C1_WinUI_Core_C1CheckBox__ctor">C1CheckBox()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WinUI.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_WinUI_Core_C1CheckBox_ForegroundProperty" data-uid="C1.WinUI.Core.C1CheckBox.ForegroundProperty">
          <a class="xref" href="C1.WinUI.Core.C1CheckBox.ForegroundProperty.html">ForegroundProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WinUI.Core.C1CheckBox.Foreground.html#C1_WinUI_Core_C1CheckBox_Foreground">Foreground</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_WinUI_Core_C1CheckBox_Foreground" data-uid="C1.WinUI.Core.C1CheckBox.Foreground">
          <a class="xref" href="C1.WinUI.Core.C1CheckBox.Foreground.html#C1_WinUI_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_WinUI_Core_C1CheckBox_IsDisposed" data-uid="C1.WinUI.Core.C1CheckBox.IsDisposed">
          <a class="xref" href="C1.WinUI.Core.C1CheckBox.IsDisposed.html#C1_WinUI_Core_C1CheckBox_IsDisposed">IsDisposed</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether this instance is disposed.</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_WinUI_Core_C1CheckBox_Dispose" data-uid="C1.WinUI.Core.C1CheckBox.Dispose">
          <a class="xref" href="C1.WinUI.Core.C1CheckBox.Dispose.html#C1_WinUI_Core_C1CheckBox_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WinUI_Core_C1CheckBox_Dispose_System_Boolean_" data-uid="C1.WinUI.Core.C1CheckBox.Dispose(System.Boolean)">
          <a class="xref" href="C1.WinUI.Core.C1CheckBox.Dispose.html#C1_WinUI_Core_C1CheckBox_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WinUI_Core_C1CheckBox_Finalize" data-uid="C1.WinUI.Core.C1CheckBox.Finalize">
          <a class="xref" href="C1.WinUI.Core.C1CheckBox.Finalize.html#C1_WinUI_Core_C1CheckBox_Finalize">Finalize()</a>
        </td>
        <td class="markdown level1 summary"><p>Finalizes this instance of the <a class="xref" href="C1.WinUI.Core.C1CheckBox.html">C1CheckBox</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WinUI_Core_C1CheckBox_OnApplyTemplate" data-uid="C1.WinUI.Core.C1CheckBox.OnApplyTemplate">
          <a class="xref" href="C1.WinUI.Core.C1CheckBox.OnApplyTemplate.html#C1_WinUI_Core_C1CheckBox_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
