# C1.Win.FlexGrid.ValueFilter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_FlexGrid_ValueFilter" data-uid="C1.Win.FlexGrid.ValueFilter" class="text-break">ValueFilter Class
</h1>
  <div class="markdown level0 summary"><p>Represents a filter based on a set of values.</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="C1.Win.FlexGrid.BaseFilter.html">BaseFilter</a></div>
    <div class="level2"><span class="xref">ValueFilter</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="C1.Win.FlexGrid.IC1ColumnFilter2.html">IC1ColumnFilter2</a></div>
    <div><a class="xref" href="C1.Win.FlexGrid.IC1ColumnFilter.html">IC1ColumnFilter</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.FlexGrid.html">C1.Win.FlexGrid</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.FlexGrid.10.dll</h6>
  <h5 id="C1_Win_FlexGrid_ValueFilter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ValueFilter : BaseFilter, IC1ColumnFilter2, IC1ColumnFilter</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ValueFilter
    Inherits BaseFilter
    Implements IC1ColumnFilter2, IC1ColumnFilter</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_Win_FlexGrid_ValueFilter__ctor" data-uid="C1.Win.FlexGrid.ValueFilter.#ctor">
          <a class="xref" href="C1.Win.FlexGrid.ValueFilter.-ctor.html#C1_Win_FlexGrid_ValueFilter__ctor">ValueFilter()</a>
        </td>
        <td class="markdown level1 summary"></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_Win_FlexGrid_ValueFilter_IsActive" data-uid="C1.Win.FlexGrid.ValueFilter.IsActive">
          <a class="xref" href="C1.Win.FlexGrid.ValueFilter.IsActive.html#C1_Win_FlexGrid_ValueFilter_IsActive">IsActive</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines whether the filter is active.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_ValueFilter_ShowValues" data-uid="C1.Win.FlexGrid.ValueFilter.ShowValues">
          <a class="xref" href="C1.Win.FlexGrid.ValueFilter.ShowValues.html#C1_Win_FlexGrid_ValueFilter_ShowValues">ShowValues</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets an array with the values that should be included in the output.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_ValueFilter_ValuesLimit" data-uid="C1.Win.FlexGrid.ValueFilter.ValuesLimit">
          <a class="xref" href="C1.Win.FlexGrid.ValueFilter.ValuesLimit.html#C1_Win_FlexGrid_ValueFilter_ValuesLimit">ValuesLimit</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the limit count of values in value filter.</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_Win_FlexGrid_ValueFilter_Apply_System_Object_" data-uid="C1.Win.FlexGrid.ValueFilter.Apply(System.Object)">
          <a class="xref" href="C1.Win.FlexGrid.ValueFilter.Apply.html#C1_Win_FlexGrid_ValueFilter_Apply_System_Object_">Apply(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Applies the filter to a value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_ValueFilter_GetEditor" data-uid="C1.Win.FlexGrid.ValueFilter.GetEditor">
          <a class="xref" href="C1.Win.FlexGrid.ValueFilter.GetEditor.html#C1_Win_FlexGrid_ValueFilter_GetEditor">GetEditor()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the editor used to modify the filter at run time.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_ValueFilter_ReadXmlDefinition_System_Xml_XmlReader_" data-uid="C1.Win.FlexGrid.ValueFilter.ReadXmlDefinition(System.Xml.XmlReader)">
          <a class="xref" href="C1.Win.FlexGrid.ValueFilter.ReadXmlDefinition.html#C1_Win_FlexGrid_ValueFilter_ReadXmlDefinition_System_Xml_XmlReader_">ReadXmlDefinition(XmlReader)</a>
        </td>
        <td class="markdown level1 summary"><p>Reads XML definition of the filter.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_ValueFilter_Reset" data-uid="C1.Win.FlexGrid.ValueFilter.Reset">
          <a class="xref" href="C1.Win.FlexGrid.ValueFilter.Reset.html#C1_Win_FlexGrid_ValueFilter_Reset">Reset()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the filter making it inactive.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_ValueFilter_WriteXmlDefinition_System_Xml_XmlWriter_" data-uid="C1.Win.FlexGrid.ValueFilter.WriteXmlDefinition(System.Xml.XmlWriter)">
          <a class="xref" href="C1.Win.FlexGrid.ValueFilter.WriteXmlDefinition.html#C1_Win_FlexGrid_ValueFilter_WriteXmlDefinition_System_Xml_XmlWriter_">WriteXmlDefinition(XmlWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Writes XML definition of the filter.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
