# C1.Report.CheckBoxField

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Report_CheckBoxField" data-uid="C1.Report.CheckBoxField" class="text-break">CheckBoxField Class
</h1>
  <div class="markdown level0 summary"><p>Represents a checkbox field in a report.</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.Report.ReportObject.html">ReportObject</a></div>
    <div class="level2"><a class="xref" href="C1.Report.VisualReportObject.html">VisualReportObject</a></div>
    <div class="level3"><a class="xref" href="C1.Report.FieldBase.html">FieldBase</a></div>
    <div class="level4"><a class="xref" href="C1.Report.TextFieldBase.html">TextFieldBase</a></div>
    <div class="level5"><span class="xref">CheckBoxField</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="C1.Report.IScriptContextProvider.html">IScriptContextProvider</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Report.html">C1.Report</a></h6>
  <h6><strong>Assembly</strong>: C1.Report.dll</h6>
  <h5 id="C1_Report_CheckBoxField_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class CheckBoxField : TextFieldBase, IScriptContextProvider, ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class CheckBoxField
    Inherits TextFieldBase
    Implements IScriptContextProvider, ICloneable</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_Report_CheckBoxField__ctor" data-uid="C1.Report.CheckBoxField.#ctor">
          <a class="xref" href="C1.Report.CheckBoxField.-ctor.html#C1_Report_CheckBoxField__ctor">CheckBoxField()</a>
        </td>
        <td class="markdown level1 summary"><p>Initialize a new instance of the <a class="xref" href="C1.Report.CheckBoxField.html">CheckBoxField</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_Report_CheckBoxField_CheckAlign" data-uid="C1.Report.CheckBoxField.CheckAlign">
          <a class="xref" href="C1.Report.CheckBoxField.CheckAlign.html#C1_Report_CheckBoxField_CheckAlign">CheckAlign</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the horizntal and vertical alignment of the check mark within the field area.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_CheckBoxField_CheckMark" data-uid="C1.Report.CheckBoxField.CheckMark">
          <a class="xref" href="C1.Report.CheckBoxField.CheckMark.html#C1_Report_CheckBoxField_CheckMark">CheckMark</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.Report.CheckBoxField.CheckMark.html#C1_Report_CheckBoxField_CheckMark">CheckMark</a> object that determines the look of the check mark.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_CheckBoxField_Text" data-uid="C1.Report.CheckBoxField.Text">
          <a class="xref" href="C1.Report.CheckBoxField.Text.html#C1_Report_CheckBoxField_Text">Text</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a <a class="xref" href="C1.Report.ScriptStringValue.html">ScriptStringValue</a> yielding the text shown in the field.
Gets or sets the field's text.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_CheckBoxField_ThreeState" data-uid="C1.Report.CheckBoxField.ThreeState">
          <a class="xref" href="C1.Report.CheckBoxField.ThreeState.html#C1_Report_CheckBoxField_ThreeState">ThreeState</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the checkbox will allow three check states rather than two.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_CheckBoxField_Value" data-uid="C1.Report.CheckBoxField.Value">
          <a class="xref" href="C1.Report.CheckBoxField.Value.html#C1_Report_CheckBoxField_Value">Value</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a <a class="xref" href="C1.Report.ScriptObjectValue.html">ScriptObjectValue</a> yielding the checked value of the checkbox.</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_Report_CheckBoxField_AfterRender" data-uid="C1.Report.CheckBoxField.AfterRender">
          <a class="xref" href="C1.Report.CheckBoxField.AfterRender.html#C1_Report_CheckBoxField_AfterRender">AfterRender()</a>
        </td>
        <td class="markdown level1 summary"><p>Called where report rendering finish.
Can be used to finalize object after rendering.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_CheckBoxField_AssignFrom_C1_Report_ReportObject_System_Boolean_" data-uid="C1.Report.CheckBoxField.AssignFrom(C1.Report.ReportObject,System.Boolean)">
          <a class="xref" href="C1.Report.CheckBoxField.AssignFrom.html#C1_Report_CheckBoxField_AssignFrom_C1_Report_ReportObject_System_Boolean_">AssignFrom(ReportObject, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies properties from another object into this object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_CheckBoxField_BeforeRender" data-uid="C1.Report.CheckBoxField.BeforeRender">
          <a class="xref" href="C1.Report.CheckBoxField.BeforeRender.html#C1_Report_CheckBoxField_BeforeRender">BeforeRender()</a>
        </td>
        <td class="markdown level1 summary"><p>Called where report rendering starts.
Can be used to initialize object before rendering.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_CheckBoxField_GetContentAutoHeight_System_Double_" data-uid="C1.Report.CheckBoxField.GetContentAutoHeight(System.Double)">
          <a class="xref" href="C1.Report.CheckBoxField.GetContentAutoHeight.html#C1_Report_CheckBoxField_GetContentAutoHeight_System_Double_">GetContentAutoHeight(double)</a>
        </td>
        <td class="markdown level1 summary"><p>Override this method to calculate the height of object on basis of its content,
this method is called when field can grow or shrink vertically.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_CheckBoxField_GetContentAutoSize_System_Double__System_Double__" data-uid="C1.Report.CheckBoxField.GetContentAutoSize(System.Double@,System.Double@)">
          <a class="xref" href="C1.Report.CheckBoxField.GetContentAutoSize.html#C1_Report_CheckBoxField_GetContentAutoSize_System_Double__System_Double__">GetContentAutoSize(out double, out double)</a>
        </td>
        <td class="markdown level1 summary"><p>Override this method to calculate sizes of object on basis of its content,
this method is called when field can grow or shrink vertically and horizontally.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_CheckBoxField_GetContentAutoWidth_System_Double_" data-uid="C1.Report.CheckBoxField.GetContentAutoWidth(System.Double)">
          <a class="xref" href="C1.Report.CheckBoxField.GetContentAutoWidth.html#C1_Report_CheckBoxField_GetContentAutoWidth_System_Double_">GetContentAutoWidth(double)</a>
        </td>
        <td class="markdown level1 summary"><p>Override this method to calculate the width of object on basis of its content,
this method is called when field can grow or shrink horizontally.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_CheckBoxField_GetDefSplitHorzBehavior" data-uid="C1.Report.CheckBoxField.GetDefSplitHorzBehavior">
          <a class="xref" href="C1.Report.CheckBoxField.GetDefSplitHorzBehavior.html#C1_Report_CheckBoxField_GetDefSplitHorzBehavior">GetDefSplitHorzBehavior()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Report_CheckBoxField_GetDefSplitVertBehavior" data-uid="C1.Report.CheckBoxField.GetDefSplitVertBehavior">
          <a class="xref" href="C1.Report.CheckBoxField.GetDefSplitVertBehavior.html#C1_Report_CheckBoxField_GetDefSplitVertBehavior">GetDefSplitVertBehavior()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Report_CheckBoxField_GetPropsTable" data-uid="C1.Report.CheckBoxField.GetPropsTable">
          <a class="xref" href="C1.Report.CheckBoxField.GetPropsTable.html#C1_Report_CheckBoxField_GetPropsTable">GetPropsTable()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Report_CheckBoxField_GetText" data-uid="C1.Report.CheckBoxField.GetText">
          <a class="xref" href="C1.Report.CheckBoxField.GetText.html#C1_Report_CheckBoxField_GetText">GetText()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets all drawing text from this field.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_CheckBoxField_InternalBuildBrick_C1_Report_Rendering_SubSectionBrick_" data-uid="C1.Report.CheckBoxField.InternalBuildBrick(C1.Report.Rendering.SubSectionBrick)">
          <a class="xref" href="C1.Report.CheckBoxField.InternalBuildBrick.html#C1_Report_CheckBoxField_InternalBuildBrick_C1_Report_Rendering_SubSectionBrick_">InternalBuildBrick(SubSectionBrick)</a>
        </td>
        <td class="markdown level1 summary"><p>This method should be overriden in descendant classes like Field, BarCodeField, ChartField and so on.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_CheckBoxField_InternalRefreshBrick_C1_Report_Rendering_FieldBrickBase_" data-uid="C1.Report.CheckBoxField.InternalRefreshBrick(C1.Report.Rendering.FieldBrickBase)">
          <a class="xref" href="C1.Report.CheckBoxField.InternalRefreshBrick.html#C1_Report_CheckBoxField_InternalRefreshBrick_C1_Report_Rendering_FieldBrickBase_">InternalRefreshBrick(FieldBrickBase)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Report_CheckBoxField_ResetCheckMark" data-uid="C1.Report.CheckBoxField.ResetCheckMark">
          <a class="xref" href="C1.Report.CheckBoxField.ResetCheckMark.html#C1_Report_CheckBoxField_ResetCheckMark">ResetCheckMark()</a>
        </td>
        <td class="markdown level1 summary"><p>Restore the <a class="xref" href="C1.Report.CheckMark.html">CheckMark</a> properties to their default values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_CheckBoxField_ResetState" data-uid="C1.Report.CheckBoxField.ResetState">
          <a class="xref" href="C1.Report.CheckBoxField.ResetState.html#C1_Report_CheckBoxField_ResetState">ResetState()</a>
        </td>
        <td class="markdown level1 summary"><p>Called when FlexReport starts calculation of the section containing this FieldBase.
Resets internal state of the field.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_CheckBoxField_ResetStyle" data-uid="C1.Report.CheckBoxField.ResetStyle">
          <a class="xref" href="C1.Report.CheckBoxField.ResetStyle.html#C1_Report_CheckBoxField_ResetStyle">ResetStyle()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Report_CheckBoxField_ResetText" data-uid="C1.Report.CheckBoxField.ResetText">
          <a class="xref" href="C1.Report.CheckBoxField.ResetText.html#C1_Report_CheckBoxField_ResetText">ResetText()</a>
        </td>
        <td class="markdown level1 summary"><p>Restore the <a class="xref" href="C1.Report.CheckBoxField.html">CheckBoxField</a> properties to their default values.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
