# FarPoint.Web.Spread.DynamicFilterItem

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Web_Spread_DynamicFilterItem" data-uid="FarPoint.Web.Spread.DynamicFilterItem" class="text-break">DynamicFilterItem Class
</h1>
  <div class="markdown level0 summary"><p>Provides a DynamicFilter class to filter cells based on a set of built-in definitions due to DynamicFilterType.</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="FarPoint.Web.Spread.BaseFilterItem.html">BaseFilterItem</a></div>
    <div class="level2"><span class="xref">DynamicFilterItem</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="FarPoint.Web.Spread.Model.ISerializeSupport.html">ISerializeSupport</a></div>
    <div><a class="xref" href="FarPoint.Web.Spread.ISortedFilterItem.html">ISortedFilterItem</a></div>
    <div><a class="xref" href="FarPoint.Web.Spread.IFilterItem.html">IFilterItem</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Web.Spread.html">FarPoint.Web.Spread</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Web.Spread.dll</h6>
  <h5 id="FarPoint_Web_Spread_DynamicFilterItem_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class DynamicFilterItem : BaseFilterItem, ISerializeSupport, ISortedFilterItem, IFilterItem</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class DynamicFilterItem
    Inherits BaseFilterItem
    Implements ISerializeSupport, ISortedFilterItem, IFilterItem</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="FarPoint_Web_Spread_DynamicFilterItem__ctor_FarPoint_Web_Spread_DynamicFilterType_" data-uid="FarPoint.Web.Spread.DynamicFilterItem.#ctor(FarPoint.Web.Spread.DynamicFilterType)">
          <a class="xref" href="FarPoint.Web.Spread.DynamicFilterItem.-ctor.html#FarPoint_Web_Spread_DynamicFilterItem__ctor_FarPoint_Web_Spread_DynamicFilterType_">DynamicFilterItem(DynamicFilterType)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a dynamic filter instance with customized settings.</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="FarPoint_Web_Spread_DynamicFilterItem_DisplayAtTopOfList" data-uid="FarPoint.Web.Spread.DynamicFilterItem.DisplayAtTopOfList">
          <a class="xref" href="FarPoint.Web.Spread.DynamicFilterItem.DisplayAtTopOfList.html#FarPoint_Web_Spread_DynamicFilterItem_DisplayAtTopOfList">DisplayAtTopOfList</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the display name is added to the top of the filter drop-down list.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_DynamicFilterItem_DisplayName" data-uid="FarPoint.Web.Spread.DynamicFilterItem.DisplayName">
          <a class="xref" href="FarPoint.Web.Spread.DynamicFilterItem.DisplayName.html#FarPoint_Web_Spread_DynamicFilterItem_DisplayName">DisplayName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the display name of the filter.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_DynamicFilterItem_SheetView" data-uid="FarPoint.Web.Spread.DynamicFilterItem.SheetView">
          <a class="xref" href="FarPoint.Web.Spread.DynamicFilterItem.SheetView.html#FarPoint_Web_Spread_DynamicFilterItem_SheetView">SheetView</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the sheet to filter.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_DynamicFilterItem_Type" data-uid="FarPoint.Web.Spread.DynamicFilterItem.Type">
          <a class="xref" href="FarPoint.Web.Spread.DynamicFilterItem.Type.html#FarPoint_Web_Spread_DynamicFilterItem_Type">Type</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the dynamic filter type.</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="FarPoint_Web_Spread_DynamicFilterItem_Deserialize_System_Xml_XmlNodeReader_" data-uid="FarPoint.Web.Spread.DynamicFilterItem.Deserialize(System.Xml.XmlNodeReader)">
          <a class="xref" href="FarPoint.Web.Spread.DynamicFilterItem.Deserialize.html#FarPoint_Web_Spread_DynamicFilterItem_Deserialize_System_Xml_XmlNodeReader_">Deserialize(XmlNodeReader)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads the object from XML.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_DynamicFilterItem_Filter_System_Int32_" data-uid="FarPoint.Web.Spread.DynamicFilterItem.Filter(System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.DynamicFilterItem.Filter.html#FarPoint_Web_Spread_DynamicFilterItem_Filter_System_Int32_">Filter(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Filters the specified column of the sheet.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_DynamicFilterItem_Serialize_System_Xml_XmlTextWriter_" data-uid="FarPoint.Web.Spread.DynamicFilterItem.Serialize(System.Xml.XmlTextWriter)">
          <a class="xref" href="FarPoint.Web.Spread.DynamicFilterItem.Serialize.html#FarPoint_Web_Spread_DynamicFilterItem_Serialize_System_Xml_XmlTextWriter_">Serialize(XmlTextWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Saves the object to XML.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_DynamicFilterItem_ShowInDropDown_System_Int32_System_Int32___" data-uid="FarPoint.Web.Spread.DynamicFilterItem.ShowInDropDown(System.Int32,System.Int32[])">
          <a class="xref" href="FarPoint.Web.Spread.DynamicFilterItem.ShowInDropDown.html#FarPoint_Web_Spread_DynamicFilterItem_ShowInDropDown_System_Int32_System_Int32___">ShowInDropDown(int, int[])</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the name is displayed in the filter drop-down list.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
