# C1.Framework.CheckButtonElement.CheckBoxIndex

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Framework_CheckButtonElement_CheckBoxIndex_" data-uid="C1.Framework.CheckButtonElement.CheckBoxIndex*">CheckBoxIndex Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Framework_CheckButtonElement_CheckBoxIndex_" data-uid="C1.Framework.CheckButtonElement.CheckBoxIndex*"></a>
<h4 id="C1_Framework_CheckButtonElement_CheckBoxIndex" data-uid="C1.Framework.CheckButtonElement.CheckBoxIndex">CheckBoxIndex</h4>
<div class="markdown level1 summary"><p>Gets or sets the index of the CheckBox element within the button.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public int CheckBoxIndex { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property CheckBoxIndex As Integer</code></pre>
</div>
<h5 id="C1_Framework_CheckButtonElement_CheckBoxIndex_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>If there is no CheckBox element, this property returns -1. Setting the property to -1 removes the CheckBox element.</p>
<p>Setting this property value greater than the number of children does not throw an exception. In this case, the
maximum valid value (Children.Count) is used instead (e.g. CheckBoxIndex = 1000).</p>
</div>
</div>
