# FarPoint.Win.Spread.BaseFilterItem

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_BaseFilterItem" data-uid="FarPoint.Win.Spread.BaseFilterItem" class="text-break">BaseFilterItem Class
</h1>
  <div class="markdown level0 summary"><p>Represents the basis for a custom filter.</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">BaseFilterItem</span></div>
      <div class="level2"><a class="xref" href="FarPoint.Win.Spread.ColorFilterItem.html">ColorFilterItem</a></div>
      <div class="level2"><a class="xref" href="FarPoint.Win.Spread.CustomFilterItem.html">CustomFilterItem</a></div>
      <div class="level2"><a class="xref" href="FarPoint.Win.Spread.DefaultFilterItem.html">DefaultFilterItem</a></div>
      <div class="level2"><a class="xref" href="FarPoint.Win.Spread.DynamicFilterItem.html">DynamicFilterItem</a></div>
      <div class="level2"><a class="xref" href="FarPoint.Win.Spread.IconFilterItem.html">IconFilterItem</a></div>
      <div class="level2"><a class="xref" href="FarPoint.Win.Spread.MultiValuesFilterItem.html">MultiValuesFilterItem</a></div>
      <div class="level2"><a class="xref" href="FarPoint.Win.Spread.Top10FilterItem.html">Top10FilterItem</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="FarPoint.Win.Spread.IFilterItem.html">IFilterItem</a></div>
    <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>
  <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_BaseFilterItem_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class BaseFilterItem : IFilterItem, ISerializeSupport, ISerializable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class BaseFilterItem
    Implements IFilterItem, ISerializeSupport, ISerializable</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_BaseFilterItem__ctor" data-uid="FarPoint.Win.Spread.BaseFilterItem.#ctor">
          <a class="xref" href="FarPoint.Win.Spread.BaseFilterItem.-ctor.html#FarPoint_Win_Spread_BaseFilterItem__ctor">BaseFilterItem()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new base custom filter.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_BaseFilterItem__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Win.Spread.BaseFilterItem.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Win.Spread.BaseFilterItem.-ctor.html#FarPoint_Win_Spread_BaseFilterItem__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">BaseFilterItem(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.BaseFilterItem.html">BaseFilterItem</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_BaseFilterItem_DisplayAtTopOfList" data-uid="FarPoint.Win.Spread.BaseFilterItem.DisplayAtTopOfList">
          <a class="xref" href="FarPoint.Win.Spread.BaseFilterItem.DisplayAtTopOfList.html#FarPoint_Win_Spread_BaseFilterItem_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_BaseFilterItem_DisplayName" data-uid="FarPoint.Win.Spread.BaseFilterItem.DisplayName">
          <a class="xref" href="FarPoint.Win.Spread.BaseFilterItem.DisplayName.html#FarPoint_Win_Spread_BaseFilterItem_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_BaseFilterItem_SheetView" data-uid="FarPoint.Win.Spread.BaseFilterItem.SheetView">
          <a class="xref" href="FarPoint.Win.Spread.BaseFilterItem.SheetView.html#FarPoint_Win_Spread_BaseFilterItem_SheetView">SheetView</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the sheet to 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="FarPoint_Win_Spread_BaseFilterItem_Deserialize_System_Xml_XmlNodeReader_" data-uid="FarPoint.Win.Spread.BaseFilterItem.Deserialize(System.Xml.XmlNodeReader)">
          <a class="xref" href="FarPoint.Win.Spread.BaseFilterItem.Deserialize.html#FarPoint_Win_Spread_BaseFilterItem_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_BaseFilterItem_Equals_System_Object_" data-uid="FarPoint.Win.Spread.BaseFilterItem.Equals(System.Object)">
          <a class="xref" href="FarPoint.Win.Spread.BaseFilterItem.Equals.html#FarPoint_Win_Spread_BaseFilterItem_Equals_System_Object_">Equals(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the specified System.Object is equal to the current BaseFilterItem object.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_BaseFilterItem_Filter_System_Int32_" data-uid="FarPoint.Win.Spread.BaseFilterItem.Filter(System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.BaseFilterItem.Filter.html#FarPoint_Win_Spread_BaseFilterItem_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_BaseFilterItem_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Win.Spread.BaseFilterItem.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Win.Spread.BaseFilterItem.GetObjectData.html#FarPoint_Win_Spread_BaseFilterItem_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_BaseFilterItem_Initialize_GrapeCity_Spreadsheet_IAutoFilterOwner_" data-uid="FarPoint.Win.Spread.BaseFilterItem.Initialize(GrapeCity.Spreadsheet.IAutoFilterOwner)">
          <a class="xref" href="FarPoint.Win.Spread.BaseFilterItem.Initialize.html#FarPoint_Win_Spread_BaseFilterItem_Initialize_GrapeCity_Spreadsheet_IAutoFilterOwner_">Initialize(IAutoFilterOwner)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes private data of this <a class="xref" href="FarPoint.Win.Spread.BaseFilterItem.html">BaseFilterItem</a>.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_BaseFilterItem_Serialize_System_Xml_XmlTextWriter_" data-uid="FarPoint.Win.Spread.BaseFilterItem.Serialize(System.Xml.XmlTextWriter)">
          <a class="xref" href="FarPoint.Win.Spread.BaseFilterItem.Serialize.html#FarPoint_Win_Spread_BaseFilterItem_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_BaseFilterItem_ShowInDropDown_System_Int32_System_Int32___" data-uid="FarPoint.Win.Spread.BaseFilterItem.ShowInDropDown(System.Int32,System.Int32[])">
          <a class="xref" href="FarPoint.Win.Spread.BaseFilterItem.ShowInDropDown.html#FarPoint_Win_Spread_BaseFilterItem_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>
