# C1.WPF.FlexGrid.C1FullTextFilter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_FlexGrid_C1FullTextFilter" data-uid="C1.WPF.FlexGrid.C1FullTextFilter" class="text-break">C1FullTextFilter Class
</h1>
  <div class="markdown level0 summary"><p>Implements a full text filter that can be added to existing C1FlexGrid controls.</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="https://learn.microsoft.com/dotnet/api/system.windows.threading.dispatcherobject">DispatcherObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.dependencyobject">DependencyObject</a></div>
    <div class="level3"><span class="xref">C1FullTextFilter</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.FlexGrid.html">C1.WPF.FlexGrid</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.FlexGridFilter.4.6.2.dll</h6>
  <h5 id="C1_WPF_FlexGrid_C1FullTextFilter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1FullTextFilter : DependencyObject</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1FullTextFilter
    Inherits DependencyObject</code></pre>
  </div>
  <h5 id="C1_WPF_FlexGrid_C1FullTextFilter_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>To enable filtering on a C1FlexGrid control, create an instance of a C1FullTextFilter
and pass the grid as a parameter to the constructor. For example:</p>
<pre><code class="lang-csharp">// enable filtering on the _flex control
var ff = new C1FullTextFilter(_flex);</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_FlexGrid_C1FullTextFilter__ctor" data-uid="C1.WPF.FlexGrid.C1FullTextFilter.#ctor">
          <a class="xref" href="C1.WPF.FlexGrid.C1FullTextFilter.-ctor.html#C1_WPF_FlexGrid_C1FullTextFilter__ctor">C1FullTextFilter()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.FlexGrid.C1FullTextFilter.html">C1FullTextFilter</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_C1FullTextFilter__ctor_C1_WPF_FlexGrid_C1FlexGrid_" data-uid="C1.WPF.FlexGrid.C1FullTextFilter.#ctor(C1.WPF.FlexGrid.C1FlexGrid)">
          <a class="xref" href="C1.WPF.FlexGrid.C1FullTextFilter.-ctor.html#C1_WPF_FlexGrid_C1FullTextFilter__ctor_C1_WPF_FlexGrid_C1FlexGrid_">C1FullTextFilter(C1FlexGrid)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.FlexGrid.C1FullTextFilter.html">C1FullTextFilter</a> class.</p>
</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_FlexGrid_C1FullTextFilter_FilterEntryProperty" data-uid="C1.WPF.FlexGrid.C1FullTextFilter.FilterEntryProperty">
          <a class="xref" href="C1.WPF.FlexGrid.C1FullTextFilter.FilterEntryProperty.html">FilterEntryProperty</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_FlexGrid_C1FullTextFilter_HighlightedBackgroundProperty" data-uid="C1.WPF.FlexGrid.C1FullTextFilter.HighlightedBackgroundProperty">
          <a class="xref" href="C1.WPF.FlexGrid.C1FullTextFilter.HighlightedBackgroundProperty.html">HighlightedBackgroundProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the brush used to highlight the cell background that matches the searched text.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_C1FullTextFilter_HighlightedForegroundProperty" data-uid="C1.WPF.FlexGrid.C1FullTextFilter.HighlightedForegroundProperty">
          <a class="xref" href="C1.WPF.FlexGrid.C1FullTextFilter.HighlightedForegroundProperty.html">HighlightedForegroundProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the brush used to highlight the cell foreground that matches the searched text.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_C1FullTextFilter_MatchCaseProperty" data-uid="C1.WPF.FlexGrid.C1FullTextFilter.MatchCaseProperty">
          <a class="xref" href="C1.WPF.FlexGrid.C1FullTextFilter.MatchCaseProperty.html">MatchCaseProperty</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_FlexGrid_C1FullTextFilter_MatchNumbersProperty" data-uid="C1.WPF.FlexGrid.C1FullTextFilter.MatchNumbersProperty">
          <a class="xref" href="C1.WPF.FlexGrid.C1FullTextFilter.MatchNumbersProperty.html">MatchNumbersProperty</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_FlexGrid_C1FullTextFilter_MatchWholeWordProperty" data-uid="C1.WPF.FlexGrid.C1FullTextFilter.MatchWholeWordProperty">
          <a class="xref" href="C1.WPF.FlexGrid.C1FullTextFilter.MatchWholeWordProperty.html">MatchWholeWordProperty</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_FlexGrid_C1FullTextFilter_ModeProperty" data-uid="C1.WPF.FlexGrid.C1FullTextFilter.ModeProperty">
          <a class="xref" href="C1.WPF.FlexGrid.C1FullTextFilter.ModeProperty.html">ModeProperty</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>
      <tr>
        <td id="C1_WPF_FlexGrid_C1FullTextFilter_TextChangedDelayProperty" data-uid="C1.WPF.FlexGrid.C1FullTextFilter.TextChangedDelayProperty">
          <a class="xref" href="C1.WPF.FlexGrid.C1FullTextFilter.TextChangedDelayProperty.html">TextChangedDelayProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the delay time used to filter after the last typed character.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_C1FullTextFilter_TreatSpacesAsAndOperatorProperty" data-uid="C1.WPF.FlexGrid.C1FullTextFilter.TreatSpacesAsAndOperatorProperty">
          <a class="xref" href="C1.WPF.FlexGrid.C1FullTextFilter.TreatSpacesAsAndOperatorProperty.html">TreatSpacesAsAndOperatorProperty</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="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_FlexGrid_C1FullTextFilter_Delay" data-uid="C1.WPF.FlexGrid.C1FullTextFilter.Delay">
          <a class="xref" href="C1.WPF.FlexGrid.C1FullTextFilter.Delay.html#C1_WPF_FlexGrid_C1FullTextFilter_Delay">Delay</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the delay time used to filter after the last typed character.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_C1FullTextFilter_FilterEntry" data-uid="C1.WPF.FlexGrid.C1FullTextFilter.FilterEntry">
          <a class="xref" href="C1.WPF.FlexGrid.C1FullTextFilter.FilterEntry.html#C1_WPF_FlexGrid_C1FullTextFilter_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_FlexGrid_C1FullTextFilter_HighlightedBackground" data-uid="C1.WPF.FlexGrid.C1FullTextFilter.HighlightedBackground">
          <a class="xref" href="C1.WPF.FlexGrid.C1FullTextFilter.HighlightedBackground.html#C1_WPF_FlexGrid_C1FullTextFilter_HighlightedBackground">HighlightedBackground</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the brush used to highlight the cell background that matches the searched text.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_C1FullTextFilter_HighlightedForeground" data-uid="C1.WPF.FlexGrid.C1FullTextFilter.HighlightedForeground">
          <a class="xref" href="C1.WPF.FlexGrid.C1FullTextFilter.HighlightedForeground.html#C1_WPF_FlexGrid_C1FullTextFilter_HighlightedForeground">HighlightedForeground</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the brush used to highlight the cell foreground that matches the searched text.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_C1FullTextFilter_MatchCase" data-uid="C1.WPF.FlexGrid.C1FullTextFilter.MatchCase">
          <a class="xref" href="C1.WPF.FlexGrid.C1FullTextFilter.MatchCase.html#C1_WPF_FlexGrid_C1FullTextFilter_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_FlexGrid_C1FullTextFilter_MatchNumbers" data-uid="C1.WPF.FlexGrid.C1FullTextFilter.MatchNumbers">
          <a class="xref" href="C1.WPF.FlexGrid.C1FullTextFilter.MatchNumbers.html#C1_WPF_FlexGrid_C1FullTextFilter_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_FlexGrid_C1FullTextFilter_MatchWholeWord" data-uid="C1.WPF.FlexGrid.C1FullTextFilter.MatchWholeWord">
          <a class="xref" href="C1.WPF.FlexGrid.C1FullTextFilter.MatchWholeWord.html#C1_WPF_FlexGrid_C1FullTextFilter_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_FlexGrid_C1FullTextFilter_Mode" data-uid="C1.WPF.FlexGrid.C1FullTextFilter.Mode">
          <a class="xref" href="C1.WPF.FlexGrid.C1FullTextFilter.Mode.html#C1_WPF_FlexGrid_C1FullTextFilter_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_FlexGrid_C1FullTextFilter_NullValueString" data-uid="C1.WPF.FlexGrid.C1FullTextFilter.NullValueString">
          <a class="xref" href="C1.WPF.FlexGrid.C1FullTextFilter.NullValueString.html#C1_WPF_FlexGrid_C1FullTextFilter_NullValueString">NullValueString</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_C1FullTextFilter_Owner" data-uid="C1.WPF.FlexGrid.C1FullTextFilter.Owner">
          <a class="xref" href="C1.WPF.FlexGrid.C1FullTextFilter.Owner.html#C1_WPF_FlexGrid_C1FullTextFilter_Owner">Owner</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="../C1.WPF.FlexGrid.4.6.2/C1.WPF.FlexGrid.C1FlexGrid.html">C1FlexGrid</a> that owns this filter.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_C1FullTextFilter_TreatSpacesAsAndOperator" data-uid="C1.WPF.FlexGrid.C1FullTextFilter.TreatSpacesAsAndOperator">
          <a class="xref" href="C1.WPF.FlexGrid.C1FullTextFilter.TreatSpacesAsAndOperator.html#C1_WPF_FlexGrid_C1FullTextFilter_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>
      <tr>
        <td id="C1_WPF_FlexGrid_C1FullTextFilter_UseCollectionView" data-uid="C1.WPF.FlexGrid.C1FullTextFilter.UseCollectionView">
          <a class="xref" href="C1.WPF.FlexGrid.C1FullTextFilter.UseCollectionView.html#C1_WPF_FlexGrid_C1FullTextFilter_UseCollectionView">UseCollectionView</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the filter should be applied to the grid's data source.</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_FlexGrid_C1FullTextFilter_Apply" data-uid="C1.WPF.FlexGrid.C1FullTextFilter.Apply">
          <a class="xref" href="C1.WPF.FlexGrid.C1FullTextFilter.Apply.html#C1_WPF_FlexGrid_C1FullTextFilter_Apply">Apply()</a>
        </td>
        <td class="markdown level1 summary"><p>Applies the current filters to the rows currently loaded on the grid.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_C1FullTextFilter_OnFilterApplied_System_EventArgs_" data-uid="C1.WPF.FlexGrid.C1FullTextFilter.OnFilterApplied(System.EventArgs)">
          <a class="xref" href="C1.WPF.FlexGrid.C1FullTextFilter.OnFilterApplied.html#C1_WPF_FlexGrid_C1FullTextFilter_OnFilterApplied_System_EventArgs_">OnFilterApplied(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="C1.WPF.FlexGrid.C1FullTextFilter.FilterApplied.html">FilterApplied</a> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_C1FullTextFilter_OnFilterChanged_System_EventArgs_" data-uid="C1.WPF.FlexGrid.C1FullTextFilter.OnFilterChanged(System.EventArgs)">
          <a class="xref" href="C1.WPF.FlexGrid.C1FullTextFilter.OnFilterChanged.html#C1_WPF_FlexGrid_C1FullTextFilter_OnFilterChanged_System_EventArgs_">OnFilterChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the FilterChanged event.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_FlexGrid_C1FullTextFilter_FilterApplied" data-uid="C1.WPF.FlexGrid.C1FullTextFilter.FilterApplied">
          <a class="xref" href="C1.WPF.FlexGrid.C1FullTextFilter.FilterApplied.html">FilterApplied</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the filter is applied to the grid.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
