# GrapeCity.ActiveReports.Framework.Implementation.ListBoxSelectionBehavior

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_ActiveReports_Framework_Implementation_ListBoxSelectionBehavior" data-uid="GrapeCity.ActiveReports.Framework.Implementation.ListBoxSelectionBehavior" class="text-break">ListBoxSelectionBehavior Class
</h1>
  <div class="markdown level0 summary"><p>Represents a behavior that allows only one item to be selected at a time in a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.listbox">ListBox</a>.
This behavior is different from setting <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.selectionmode">SelectionMode</a> to 'Single', as it allows no item to be selected.</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">ListBoxSelectionBehavior</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.html">GrapeCity.ActiveReports.Framework.Implementation</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Viewer.Wpf.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Framework_Implementation_ListBoxSelectionBehavior_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static class ListBoxSelectionBehavior</code></pre>
  </div>
  <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="GrapeCity_ActiveReports_Framework_Implementation_ListBoxSelectionBehavior_ClickSelectionProperty" data-uid="GrapeCity.ActiveReports.Framework.Implementation.ListBoxSelectionBehavior.ClickSelectionProperty">
          <a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.ListBoxSelectionBehavior.ClickSelectionProperty.html">ClickSelectionProperty</a>
        </td>
        <td class="markdown level1 summary"><p>The click selection property.</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="GrapeCity_ActiveReports_Framework_Implementation_ListBoxSelectionBehavior_GetClickSelection_System_Windows_DependencyObject_" data-uid="GrapeCity.ActiveReports.Framework.Implementation.ListBoxSelectionBehavior.GetClickSelection(System.Windows.DependencyObject)">
          <a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.ListBoxSelectionBehavior.GetClickSelection.html#GrapeCity_ActiveReports_Framework_Implementation_ListBoxSelectionBehavior_GetClickSelection_System_Windows_DependencyObject_">GetClickSelection(DependencyObject)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the 'ClickSelection' property value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Framework_Implementation_ListBoxSelectionBehavior_SetClickSelection_System_Windows_DependencyObject_System_Boolean_" data-uid="GrapeCity.ActiveReports.Framework.Implementation.ListBoxSelectionBehavior.SetClickSelection(System.Windows.DependencyObject,System.Boolean)">
          <a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.ListBoxSelectionBehavior.SetClickSelection.html#GrapeCity_ActiveReports_Framework_Implementation_ListBoxSelectionBehavior_SetClickSelection_System_Windows_DependencyObject_System_Boolean_">SetClickSelection(DependencyObject, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the 'ClickSelection' property value.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
