# C1.Web.Mvc.ValueFilter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_ValueFilter" data-uid="C1.Web.Mvc.ValueFilter" class="text-break">ValueFilter Class
</h1>
  <div class="markdown level0 summary"><p>Defines a value filter for a column.</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.Web.Mvc.html">C1.Web.Mvc</a></h6>
  <h6><strong>Assembly</strong>: C1.Web.Mvc.dll</h6>
  <h5 id="C1_Web_Mvc_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="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_Web_Mvc_ValueFilter_DataMap" data-uid="C1.Web.Mvc.ValueFilter.DataMap">
          <a class="xref" href="C1.Web.Mvc.ValueFilter.DataMap.html#C1_Web_Mvc_ValueFilter_DataMap">DataMap</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the DataMap used to convert raw values into display values of ValueFilter.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ValueFilter_ExclusiveValueSearch" data-uid="C1.Web.Mvc.ValueFilter.ExclusiveValueSearch">
          <a class="xref" href="C1.Web.Mvc.ValueFilter.ExclusiveValueSearch.html#C1_Web_Mvc_ValueFilter_ExclusiveValueSearch">ExclusiveValueSearch</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines whether the filter should include only values selected by the @see:ValueFilter.filterText property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ValueFilter_FilterText" data-uid="C1.Web.Mvc.ValueFilter.FilterText">
          <a class="xref" href="C1.Web.Mvc.ValueFilter.FilterText.html#C1_Web_Mvc_ValueFilter_FilterText">FilterText</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a string to filter the list of display values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ValueFilter_MaxValues" data-uid="C1.Web.Mvc.ValueFilter.MaxValues">
          <a class="xref" href="C1.Web.Mvc.ValueFilter.MaxValues.html#C1_Web_Mvc_ValueFilter_MaxValues">MaxValues</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the maximum number of elements on the list of display values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ValueFilter_ShowIncludeSelection" data-uid="C1.Web.Mvc.ValueFilter.ShowIncludeSelection">
          <a class="xref" href="C1.Web.Mvc.ValueFilter.ShowIncludeSelection.html#C1_Web_Mvc_ValueFilter_ShowIncludeSelection">ShowIncludeSelection</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that indicates whether the value filter should display excel like 'Add current selection to filter' option.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ValueFilter_ShowValues" data-uid="C1.Web.Mvc.ValueFilter.ShowValues">
          <a class="xref" href="C1.Web.Mvc.ValueFilter.ShowValues.html#C1_Web_Mvc_ValueFilter_ShowValues">ShowValues</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a collection with all the formatted values that should be shown.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ValueFilter_SortValues" data-uid="C1.Web.Mvc.ValueFilter.SortValues">
          <a class="xref" href="C1.Web.Mvc.ValueFilter.SortValues.html#C1_Web_Mvc_ValueFilter_SortValues">SortValues</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines whether the values should be sorted when displayed in the editor.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_ValueFilter_UniqueValues" data-uid="C1.Web.Mvc.ValueFilter.UniqueValues">
          <a class="xref" href="C1.Web.Mvc.ValueFilter.UniqueValues.html#C1_Web_Mvc_ValueFilter_UniqueValues">UniqueValues</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets an array containing the unique values to be displayed on the list.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
