# C1.WPF.Grid.CheckListBehavior

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Grid_CheckListBehavior" data-uid="C1.WPF.Grid.CheckListBehavior" class="text-break">CheckListBehavior Class
</h1>
  <div class="markdown level0 summary"><p>Customizes <a class="xref" href="C1.WPF.Grid.FlexGrid.html">FlexGrid</a> to include a checkbox column and display the grid as a check list.</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">CheckListBehavior</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><span class="xref">IDependencyObject</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Grid.html">C1.WPF.Grid</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Grid.dll</h6>
  <h5 id="C1_WPF_Grid_CheckListBehavior_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class CheckListBehavior : C1Behavior&lt;FlexGrid&gt;, IDependencyObject</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class CheckListBehavior
    Inherits C1Behavior(Of FlexGrid)
    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_WPF_Grid_CheckListBehavior__ctor" data-uid="C1.WPF.Grid.CheckListBehavior.#ctor">
          <a class="xref" href="C1.WPF.Grid.CheckListBehavior.-ctor.html#C1_WPF_Grid_CheckListBehavior__ctor">CheckListBehavior()</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_WPF_Grid_CheckListBehavior_SelectionBindingProperty" data-uid="C1.WPF.Grid.CheckListBehavior.SelectionBindingProperty">
          <a class="xref" href="C1.WPF.Grid.CheckListBehavior.SelectionBindingProperty.html">SelectionBindingProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Grid.CheckListBehavior.SelectionBinding.html#C1_WPF_Grid_CheckListBehavior_SelectionBinding">SelectionBinding</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_WPF_Grid_CheckListBehavior_SelectionBinding" data-uid="C1.WPF.Grid.CheckListBehavior.SelectionBinding">
          <a class="xref" href="C1.WPF.Grid.CheckListBehavior.SelectionBinding.html#C1_WPF_Grid_CheckListBehavior_SelectionBinding">SelectionBinding</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the binding property to the boolean property of the data item which will hold the selection 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_WPF_Grid_CheckListBehavior_OnAttachedTo_C1_WPF_Grid_FlexGrid_" data-uid="C1.WPF.Grid.CheckListBehavior.OnAttachedTo(C1.WPF.Grid.FlexGrid)">
          <a class="xref" href="C1.WPF.Grid.CheckListBehavior.OnAttachedTo.html#C1_WPF_Grid_CheckListBehavior_OnAttachedTo_C1_WPF_Grid_FlexGrid_">OnAttachedTo(FlexGrid)</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the behavior is attached to the grid.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_CheckListBehavior_OnDetachingFrom_C1_WPF_Grid_FlexGrid_" data-uid="C1.WPF.Grid.CheckListBehavior.OnDetachingFrom(C1.WPF.Grid.FlexGrid)">
          <a class="xref" href="C1.WPF.Grid.CheckListBehavior.OnDetachingFrom.html#C1_WPF_Grid_CheckListBehavior_OnDetachingFrom_C1_WPF_Grid_FlexGrid_">OnDetachingFrom(FlexGrid)</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the behavior is detaching from the grid.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
