# C1.Web.Mvc.Fluent.ValueFilterBuilder

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_Fluent_ValueFilterBuilder" data-uid="C1.Web.Mvc.Fluent.ValueFilterBuilder" class="text-break">ValueFilterBuilder Class
</h1>
  <div class="markdown level0 summary"><p>Defines a builder to configurate <a class="xref" href="C1.Web.Mvc.ValueFilter.html">ValueFilter</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">HideObjectMembers</span></div>
    <div class="level2"><a class="xref" href="C1.Web.Mvc.Fluent.BaseBuilder-2.html">BaseBuilder</a>&lt;<a class="xref" href="C1.Web.Mvc.ValueFilter.html">ValueFilter</a>, <a class="xref" href="C1.Web.Mvc.Fluent.ValueFilterBuilder.html">ValueFilterBuilder</a>&gt;</div>
    <div class="level3"><span class="xref">ValueFilterBuilder</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.Fluent.html">C1.Web.Mvc.Fluent</a></h6>
  <h6><strong>Assembly</strong>: C1.Web.Mvc.dll</h6>
  <h5 id="C1_Web_Mvc_Fluent_ValueFilterBuilder_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ValueFilterBuilder : BaseBuilder&lt;ValueFilter, ValueFilterBuilder&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ValueFilterBuilder
    Inherits BaseBuilder(Of ValueFilter, ValueFilterBuilder)</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_Web_Mvc_Fluent_ValueFilterBuilder__ctor_C1_Web_Mvc_ValueFilter_" data-uid="C1.Web.Mvc.Fluent.ValueFilterBuilder.#ctor(C1.Web.Mvc.ValueFilter)">
          <a class="xref" href="C1.Web.Mvc.Fluent.ValueFilterBuilder.-ctor.html#C1_Web_Mvc_Fluent_ValueFilterBuilder__ctor_C1_Web_Mvc_ValueFilter_">ValueFilterBuilder(ValueFilter)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates one <a class="xref" href="C1.Web.Mvc.Fluent.ValueFilterBuilder.html">ValueFilterBuilder</a> instance to configurate <code class="paramref">obj</code>.</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_Web_Mvc_Fluent_ValueFilterBuilder_DataMap_System_Action_C1_Web_Mvc_Fluent_DataMapBuilder__" data-uid="C1.Web.Mvc.Fluent.ValueFilterBuilder.DataMap(System.Action{C1.Web.Mvc.Fluent.DataMapBuilder})">
          <a class="xref" href="C1.Web.Mvc.Fluent.ValueFilterBuilder.DataMap.html#C1_Web_Mvc_Fluent_ValueFilterBuilder_DataMap_System_Action_C1_Web_Mvc_Fluent_DataMapBuilder__">DataMap(Action&lt;DataMapBuilder&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.ValueFilter.DataMap.html#C1_Web_Mvc_ValueFilter_DataMap">DataMap</a>.
Sets the DataMap used to convert raw values into display values of ValueFilter.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_ValueFilterBuilder_ExclusiveValueSearch_System_Boolean_" data-uid="C1.Web.Mvc.Fluent.ValueFilterBuilder.ExclusiveValueSearch(System.Boolean)">
          <a class="xref" href="C1.Web.Mvc.Fluent.ValueFilterBuilder.ExclusiveValueSearch.html#C1_Web_Mvc_Fluent_ValueFilterBuilder_ExclusiveValueSearch_System_Boolean_">ExclusiveValueSearch(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.ValueFilter.ExclusiveValueSearch.html#C1_Web_Mvc_ValueFilter_ExclusiveValueSearch">ExclusiveValueSearch</a>.
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_Fluent_ValueFilterBuilder_FilterText_System_String_" data-uid="C1.Web.Mvc.Fluent.ValueFilterBuilder.FilterText(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.ValueFilterBuilder.FilterText.html#C1_Web_Mvc_Fluent_ValueFilterBuilder_FilterText_System_String_">FilterText(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.ValueFilter.FilterText.html#C1_Web_Mvc_ValueFilter_FilterText">FilterText</a>.
Sets a string to filter the list of display values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_ValueFilterBuilder_MaxValues_System_Int32_" data-uid="C1.Web.Mvc.Fluent.ValueFilterBuilder.MaxValues(System.Int32)">
          <a class="xref" href="C1.Web.Mvc.Fluent.ValueFilterBuilder.MaxValues.html#C1_Web_Mvc_Fluent_ValueFilterBuilder_MaxValues_System_Int32_">MaxValues(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.ValueFilter.MaxValues.html#C1_Web_Mvc_ValueFilter_MaxValues">MaxValues</a>.
Sets the maximum number of elements on the list of display values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_ValueFilterBuilder_ShowIncludeSelection_System_Boolean_" data-uid="C1.Web.Mvc.Fluent.ValueFilterBuilder.ShowIncludeSelection(System.Boolean)">
          <a class="xref" href="C1.Web.Mvc.Fluent.ValueFilterBuilder.ShowIncludeSelection.html#C1_Web_Mvc_Fluent_ValueFilterBuilder_ShowIncludeSelection_System_Boolean_">ShowIncludeSelection(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.ValueFilter.ShowIncludeSelection.html#C1_Web_Mvc_ValueFilter_ShowIncludeSelection">ShowIncludeSelection</a>.
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_Fluent_ValueFilterBuilder_SortValues_System_Boolean_" data-uid="C1.Web.Mvc.Fluent.ValueFilterBuilder.SortValues(System.Boolean)">
          <a class="xref" href="C1.Web.Mvc.Fluent.ValueFilterBuilder.SortValues.html#C1_Web_Mvc_Fluent_ValueFilterBuilder_SortValues_System_Boolean_">SortValues(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.ValueFilter.SortValues.html#C1_Web_Mvc_ValueFilter_SortValues">SortValues</a>.
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_Fluent_ValueFilterBuilder_UniqueValues_System_Collections_Generic_IEnumerable_System_Object__" data-uid="C1.Web.Mvc.Fluent.ValueFilterBuilder.UniqueValues(System.Collections.Generic.IEnumerable{System.Object})">
          <a class="xref" href="C1.Web.Mvc.Fluent.ValueFilterBuilder.UniqueValues.html#C1_Web_Mvc_Fluent_ValueFilterBuilder_UniqueValues_System_Collections_Generic_IEnumerable_System_Object__">UniqueValues(IEnumerable&lt;object&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.ValueFilter.UniqueValues.html#C1_Web_Mvc_ValueFilter_UniqueValues">UniqueValues</a>.
Sets an array containing the unique values to be displayed on the list.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_ValueFilterBuilder_UniqueValues_System_Object___" data-uid="C1.Web.Mvc.Fluent.ValueFilterBuilder.UniqueValues(System.Object[])">
          <a class="xref" href="C1.Web.Mvc.Fluent.ValueFilterBuilder.UniqueValues.html#C1_Web_Mvc_Fluent_ValueFilterBuilder_UniqueValues_System_Object___">UniqueValues(params object[])</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the UniqueValues property.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
