# C1.WPF.Grid.FullTextFilterBehavior

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Grid_FullTextFilterBehavior" data-uid="C1.WPF.Grid.FullTextFilterBehavior" class="text-break">FullTextFilterBehavior Class
</h1>
  <div class="markdown level0 summary"><p>Allows any <a class="xref" href="C1.WPF.Grid.FlexGrid.html">FlexGrid</a> to be filtered using a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.textbox">TextBox</a>.</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">FullTextFilterBehavior</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_FullTextFilterBehavior_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class FullTextFilterBehavior : C1Behavior&lt;FlexGrid&gt;, IDependencyObject</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class FullTextFilterBehavior
    Inherits C1Behavior(Of FlexGrid)
    Implements IDependencyObject</code></pre>
  </div>
  <h5 id="C1_WPF_Grid_FullTextFilterBehavior_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>This behavior sets the CellFactory of the attached grid.</p>
</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_FullTextFilterBehavior__ctor" data-uid="C1.WPF.Grid.FullTextFilterBehavior.#ctor">
          <a class="xref" href="C1.WPF.Grid.FullTextFilterBehavior.-ctor.html#C1_WPF_Grid_FullTextFilterBehavior__ctor">FullTextFilterBehavior()</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_FullTextFilterBehavior_FilterEntryProperty" data-uid="C1.WPF.Grid.FullTextFilterBehavior.FilterEntryProperty">
          <a class="xref" href="C1.WPF.Grid.FullTextFilterBehavior.FilterEntryProperty.html">FilterEntryProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Grid.FullTextFilterBehavior.FilterEntry.html#C1_WPF_Grid_FullTextFilterBehavior_FilterEntry">FilterEntry</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_FullTextFilterBehavior_FilteredFieldsProperty" data-uid="C1.WPF.Grid.FullTextFilterBehavior.FilteredFieldsProperty">
          <a class="xref" href="C1.WPF.Grid.FullTextFilterBehavior.FilteredFieldsProperty.html">FilteredFieldsProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Grid.FullTextFilterBehavior.FilteredFields.html#C1_WPF_Grid_FullTextFilterBehavior_FilteredFields">FilteredFields</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_FullTextFilterBehavior_HighlightColorProperty" data-uid="C1.WPF.Grid.FullTextFilterBehavior.HighlightColorProperty">
          <a class="xref" href="C1.WPF.Grid.FullTextFilterBehavior.HighlightColorProperty.html">HighlightColorProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Grid.FullTextFilterBehavior.HighlightColor.html#C1_WPF_Grid_FullTextFilterBehavior_HighlightColor">HighlightColor</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_FullTextFilterBehavior_HighlightFontAttributesProperty" data-uid="C1.WPF.Grid.FullTextFilterBehavior.HighlightFontAttributesProperty">
          <a class="xref" href="C1.WPF.Grid.FullTextFilterBehavior.HighlightFontAttributesProperty.html">HighlightFontAttributesProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Grid.FullTextFilterBehavior.HighlightFontAttributes.html#C1_WPF_Grid_FullTextFilterBehavior_HighlightFontAttributes">HighlightFontAttributes</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_FullTextFilterBehavior_MatchBooleansProperty" data-uid="C1.WPF.Grid.FullTextFilterBehavior.MatchBooleansProperty">
          <a class="xref" href="C1.WPF.Grid.FullTextFilterBehavior.MatchBooleansProperty.html">MatchBooleansProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Grid.FullTextFilterBehavior.MatchBooleans.html#C1_WPF_Grid_FullTextFilterBehavior_MatchBooleans">MatchBooleans</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_FullTextFilterBehavior_MatchCaseProperty" data-uid="C1.WPF.Grid.FullTextFilterBehavior.MatchCaseProperty">
          <a class="xref" href="C1.WPF.Grid.FullTextFilterBehavior.MatchCaseProperty.html">MatchCaseProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Grid.FullTextFilterBehavior.MatchCase.html#C1_WPF_Grid_FullTextFilterBehavior_MatchCase">MatchCase</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_FullTextFilterBehavior_MatchNumbersProperty" data-uid="C1.WPF.Grid.FullTextFilterBehavior.MatchNumbersProperty">
          <a class="xref" href="C1.WPF.Grid.FullTextFilterBehavior.MatchNumbersProperty.html">MatchNumbersProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Grid.FullTextFilterBehavior.MatchNumbers.html#C1_WPF_Grid_FullTextFilterBehavior_MatchNumbers">MatchNumbers</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_FullTextFilterBehavior_MatchWholeWordProperty" data-uid="C1.WPF.Grid.FullTextFilterBehavior.MatchWholeWordProperty">
          <a class="xref" href="C1.WPF.Grid.FullTextFilterBehavior.MatchWholeWordProperty.html">MatchWholeWordProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Grid.FullTextFilterBehavior.MatchWholeWord.html#C1_WPF_Grid_FullTextFilterBehavior_MatchWholeWord">MatchWholeWord</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_FullTextFilterBehavior_ModeProperty" data-uid="C1.WPF.Grid.FullTextFilterBehavior.ModeProperty">
          <a class="xref" href="C1.WPF.Grid.FullTextFilterBehavior.ModeProperty.html">ModeProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Grid.FullTextFilterBehavior.Mode.html#C1_WPF_Grid_FullTextFilterBehavior_Mode">Mode</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_FullTextFilterBehavior_TreatSpacesAsAndOperatorProperty" data-uid="C1.WPF.Grid.FullTextFilterBehavior.TreatSpacesAsAndOperatorProperty">
          <a class="xref" href="C1.WPF.Grid.FullTextFilterBehavior.TreatSpacesAsAndOperatorProperty.html">TreatSpacesAsAndOperatorProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Grid.FullTextFilterBehavior.TreatSpacesAsAndOperator.html#C1_WPF_Grid_FullTextFilterBehavior_TreatSpacesAsAndOperator">TreatSpacesAsAndOperator</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_FullTextFilterBehavior_FilterEntry" data-uid="C1.WPF.Grid.FullTextFilterBehavior.FilterEntry">
          <a class="xref" href="C1.WPF.Grid.FullTextFilterBehavior.FilterEntry.html#C1_WPF_Grid_FullTextFilterBehavior_FilterEntry">FilterEntry</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the Entry field used to perform the query.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_FullTextFilterBehavior_FilteredFields" data-uid="C1.WPF.Grid.FullTextFilterBehavior.FilteredFields">
          <a class="xref" href="C1.WPF.Grid.FullTextFilterBehavior.FilteredFields.html#C1_WPF_Grid_FullTextFilterBehavior_FilteredFields">FilteredFields</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the collection of fields data types that should be considered
when performing full text filtering and highlighting in the grid.
Only the data type listed here will be checked for matches when FilterString changes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_FullTextFilterBehavior_HighlightColor" data-uid="C1.WPF.Grid.FullTextFilterBehavior.HighlightColor">
          <a class="xref" href="C1.WPF.Grid.FullTextFilterBehavior.HighlightColor.html#C1_WPF_Grid_FullTextFilterBehavior_HighlightColor">HighlightColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color used to highlight the matches.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_FullTextFilterBehavior_HighlightFontAttributes" data-uid="C1.WPF.Grid.FullTextFilterBehavior.HighlightFontAttributes">
          <a class="xref" href="C1.WPF.Grid.FullTextFilterBehavior.HighlightFontAttributes.html#C1_WPF_Grid_FullTextFilterBehavior_HighlightFontAttributes">HighlightFontAttributes</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the font attributes used to highlight the matches.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_FullTextFilterBehavior_MatchBooleans" data-uid="C1.WPF.Grid.FullTextFilterBehavior.MatchBooleans">
          <a class="xref" href="C1.WPF.Grid.FullTextFilterBehavior.MatchBooleans.html#C1_WPF_Grid_FullTextFilterBehavior_MatchBooleans">MatchBooleans</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the filtered text should match boolean values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_FullTextFilterBehavior_MatchCase" data-uid="C1.WPF.Grid.FullTextFilterBehavior.MatchCase">
          <a class="xref" href="C1.WPF.Grid.FullTextFilterBehavior.MatchCase.html#C1_WPF_Grid_FullTextFilterBehavior_MatchCase">MatchCase</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the filtered text should match the case too.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_FullTextFilterBehavior_MatchNumbers" data-uid="C1.WPF.Grid.FullTextFilterBehavior.MatchNumbers">
          <a class="xref" href="C1.WPF.Grid.FullTextFilterBehavior.MatchNumbers.html#C1_WPF_Grid_FullTextFilterBehavior_MatchNumbers">MatchNumbers</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether number columns should be taken into account.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_FullTextFilterBehavior_MatchWholeWord" data-uid="C1.WPF.Grid.FullTextFilterBehavior.MatchWholeWord">
          <a class="xref" href="C1.WPF.Grid.FullTextFilterBehavior.MatchWholeWord.html#C1_WPF_Grid_FullTextFilterBehavior_MatchWholeWord">MatchWholeWord</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the filtered text should match the whole word.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_FullTextFilterBehavior_Mode" data-uid="C1.WPF.Grid.FullTextFilterBehavior.Mode">
          <a class="xref" href="C1.WPF.Grid.FullTextFilterBehavior.Mode.html#C1_WPF_Grid_FullTextFilterBehavior_Mode">Mode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the mode the filter will be performed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_FullTextFilterBehavior_TreatSpacesAsAndOperator" data-uid="C1.WPF.Grid.FullTextFilterBehavior.TreatSpacesAsAndOperator">
          <a class="xref" href="C1.WPF.Grid.FullTextFilterBehavior.TreatSpacesAsAndOperator.html#C1_WPF_Grid_FullTextFilterBehavior_TreatSpacesAsAndOperator">TreatSpacesAsAndOperator</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies whether the spaces act as &quot;AND&quot; operator or the query should be matched as it is, including spaces.</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_FullTextFilterBehavior_OnAttachedTo_C1_WPF_Grid_FlexGrid_" data-uid="C1.WPF.Grid.FullTextFilterBehavior.OnAttachedTo(C1.WPF.Grid.FlexGrid)">
          <a class="xref" href="C1.WPF.Grid.FullTextFilterBehavior.OnAttachedTo.html#C1_WPF_Grid_FullTextFilterBehavior_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_FullTextFilterBehavior_OnDetachingFrom_C1_WPF_Grid_FlexGrid_" data-uid="C1.WPF.Grid.FullTextFilterBehavior.OnDetachingFrom(C1.WPF.Grid.FlexGrid)">
          <a class="xref" href="C1.WPF.Grid.FullTextFilterBehavior.OnDetachingFrom.html#C1_WPF_Grid_FullTextFilterBehavior_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>
