# FarPoint.Win.Spread.DynamicFilterItem

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_DynamicFilterItem" data-uid="FarPoint.Win.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.Win.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.Win/FarPoint.Win.ISerializeSupport.html">ISerializeSupport</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable">ISerializable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.IFilterItem.html">IFilterItem</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Win.Spread.html">FarPoint.Win.Spread</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.Spread.dll</h6>
  <h5 id="FarPoint_Win_Spread_DynamicFilterItem_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class DynamicFilterItem : BaseFilterItem, ISerializeSupport, ISerializable, ICloneable, IFilterItem</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class DynamicFilterItem
    Inherits BaseFilterItem
    Implements ISerializeSupport, ISerializable, ICloneable, 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_Win_Spread_DynamicFilterItem__ctor_FarPoint_Win_Spread_DynamicFilterType_" data-uid="FarPoint.Win.Spread.DynamicFilterItem.#ctor(FarPoint.Win.Spread.DynamicFilterType)">
          <a class="xref" href="FarPoint.Win.Spread.DynamicFilterItem.-ctor.html#FarPoint_Win_Spread_DynamicFilterItem__ctor_FarPoint_Win_Spread_DynamicFilterType_">DynamicFilterItem(DynamicFilterType)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a dynamic filter instance with customized settings.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DynamicFilterItem__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Win.Spread.DynamicFilterItem.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Win.Spread.DynamicFilterItem.-ctor.html#FarPoint_Win_Spread_DynamicFilterItem__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">DynamicFilterItem(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.DynamicFilterItem.html">DynamicFilterItem</a> class.</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_Win_Spread_DynamicFilterItem_DisplayAtTopOfList" data-uid="FarPoint.Win.Spread.DynamicFilterItem.DisplayAtTopOfList">
          <a class="xref" href="FarPoint.Win.Spread.DynamicFilterItem.DisplayAtTopOfList.html#FarPoint_Win_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_Win_Spread_DynamicFilterItem_DisplayName" data-uid="FarPoint.Win.Spread.DynamicFilterItem.DisplayName">
          <a class="xref" href="FarPoint.Win.Spread.DynamicFilterItem.DisplayName.html#FarPoint_Win_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_Win_Spread_DynamicFilterItem_IsObjectValueEditable" data-uid="FarPoint.Win.Spread.DynamicFilterItem.IsObjectValueEditable">
          <a class="xref" href="FarPoint.Win.Spread.DynamicFilterItem.IsObjectValueEditable.html#FarPoint_Win_Spread_DynamicFilterItem_IsObjectValueEditable">IsObjectValueEditable</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the object value can be edited.
In the filter bar UI, the text editor is displayed if value is true.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DynamicFilterItem_Label" data-uid="FarPoint.Win.Spread.DynamicFilterItem.Label">
          <a class="xref" href="FarPoint.Win.Spread.DynamicFilterItem.Label.html#FarPoint_Win_Spread_DynamicFilterItem_Label">Label</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the displayed text of the filter (filter name or operator).</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DynamicFilterItem_ObjectValue" data-uid="FarPoint.Win.Spread.DynamicFilterItem.ObjectValue">
          <a class="xref" href="FarPoint.Win.Spread.DynamicFilterItem.ObjectValue.html#FarPoint_Win_Spread_DynamicFilterItem_ObjectValue">ObjectValue</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text value for the filter.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DynamicFilterItem_Type" data-uid="FarPoint.Win.Spread.DynamicFilterItem.Type">
          <a class="xref" href="FarPoint.Win.Spread.DynamicFilterItem.Type.html#FarPoint_Win_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_Win_Spread_DynamicFilterItem_Clone" data-uid="FarPoint.Win.Spread.DynamicFilterItem.Clone">
          <a class="xref" href="FarPoint.Win.Spread.DynamicFilterItem.Clone.html#FarPoint_Win_Spread_DynamicFilterItem_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new object that is a copy of the current instance.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DynamicFilterItem_Deserialize_System_Xml_XmlNodeReader_" data-uid="FarPoint.Win.Spread.DynamicFilterItem.Deserialize(System.Xml.XmlNodeReader)">
          <a class="xref" href="FarPoint.Win.Spread.DynamicFilterItem.Deserialize.html#FarPoint_Win_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_Win_Spread_DynamicFilterItem_Equals_System_Object_" data-uid="FarPoint.Win.Spread.DynamicFilterItem.Equals(System.Object)">
          <a class="xref" href="FarPoint.Win.Spread.DynamicFilterItem.Equals.html#FarPoint_Win_Spread_DynamicFilterItem_Equals_System_Object_">Equals(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the specified System.Object is equal to the current DynamicFilter object.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DynamicFilterItem_Filter_System_Int32_" data-uid="FarPoint.Win.Spread.DynamicFilterItem.Filter(System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.DynamicFilterItem.Filter.html#FarPoint_Win_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_Win_Spread_DynamicFilterItem_GetHashCode" data-uid="FarPoint.Win.Spread.DynamicFilterItem.GetHashCode">
          <a class="xref" href="FarPoint.Win.Spread.DynamicFilterItem.GetHashCode.html#FarPoint_Win_Spread_DynamicFilterItem_GetHashCode">GetHashCode()</a>
        </td>
        <td class="markdown level1 summary"><p>Serves as a hash function for <a class="xref" href="FarPoint.Win.Spread.DynamicFilterItem.html">DynamicFilterItem</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DynamicFilterItem_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Win.Spread.DynamicFilterItem.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Win.Spread.DynamicFilterItem.GetObjectData.html#FarPoint_Win_Spread_DynamicFilterItem_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">GetObjectData(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Populates a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.serializationinfo">SerializationInfo</a> with the data needed to serialize the target object.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DynamicFilterItem_Serialize_System_Xml_XmlTextWriter_" data-uid="FarPoint.Win.Spread.DynamicFilterItem.Serialize(System.Xml.XmlTextWriter)">
          <a class="xref" href="FarPoint.Win.Spread.DynamicFilterItem.Serialize.html#FarPoint_Win_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_Win_Spread_DynamicFilterItem_ShowInDropDown_System_Int32_System_Int32___" data-uid="FarPoint.Win.Spread.DynamicFilterItem.ShowInDropDown(System.Int32,System.Int32[])">
          <a class="xref" href="FarPoint.Win.Spread.DynamicFilterItem.ShowInDropDown.html#FarPoint_Win_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>
