# C1.WPF.FlexGrid.ValueFilter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_FlexGrid_ValueFilter" data-uid="C1.WPF.FlexGrid.ValueFilter" class="text-break">ValueFilter Class
</h1>
  <div class="markdown level0 summary"><p>Filter defined by a list of values that should be accepted.
If the list is empty, all values satisfy the filter.</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">ValueFilter</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_ValueFilter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ValueFilter</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ValueFilter</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_ValueFilter__ctor_System_Type_" data-uid="C1.WPF.FlexGrid.ValueFilter.#ctor(System.Type)">
          <a class="xref" href="C1.WPF.FlexGrid.ValueFilter.-ctor.html#C1_WPF_FlexGrid_ValueFilter__ctor_System_Type_">ValueFilter(Type)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.WPF.FlexGrid.ColumnFilter.html">ColumnFilter</a>.</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_ValueFilter_DataType" data-uid="C1.WPF.FlexGrid.ValueFilter.DataType">
          <a class="xref" href="C1.WPF.FlexGrid.ValueFilter.DataType.html#C1_WPF_FlexGrid_ValueFilter_DataType">DataType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the type of data that this filter works on.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_ValueFilter_IsActive" data-uid="C1.WPF.FlexGrid.ValueFilter.IsActive">
          <a class="xref" href="C1.WPF.FlexGrid.ValueFilter.IsActive.html#C1_WPF_FlexGrid_ValueFilter_IsActive">IsActive</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value that indicates whether the filter is active.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_ValueFilter_Values" data-uid="C1.WPF.FlexGrid.ValueFilter.Values">
          <a class="xref" href="C1.WPF.FlexGrid.ValueFilter.Values.html#C1_WPF_FlexGrid_ValueFilter_Values">Values</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the list of values that satisfy this filter.
If the list is empty, the filter is disabled.</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_ValueFilter_Apply_System_Object_" data-uid="C1.WPF.FlexGrid.ValueFilter.Apply(System.Object)">
          <a class="xref" href="C1.WPF.FlexGrid.ValueFilter.Apply.html#C1_WPF_FlexGrid_ValueFilter_Apply_System_Object_">Apply(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Applies the filter to a given value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_FlexGrid_ValueFilter_Clear" data-uid="C1.WPF.FlexGrid.ValueFilter.Clear">
          <a class="xref" href="C1.WPF.FlexGrid.ValueFilter.Clear.html#C1_WPF_FlexGrid_ValueFilter_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Clears this filter.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
