# FarPoint.Win.Spread.FilterItemCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_FilterItemCollection" data-uid="FarPoint.Win.Spread.FilterItemCollection" class="text-break">FilterItemCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents a collection of custom filters.</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="https://learn.microsoft.com/dotnet/api/system.collections.collectionbase">CollectionBase</a></div>
    <div class="level2"><span class="xref">FilterItemCollection</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.icollection">ICollection</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a></div>
    <div><a class="xref" href="../FarPoint.Win/FarPoint.Win.ISerializeSupport.html">ISerializeSupport</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_FilterItemCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class FilterItemCollection : CollectionBase, IList, ICollection, IEnumerable, ISerializeSupport</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class FilterItemCollection
    Inherits CollectionBase
    Implements IList, ICollection, IEnumerable, ISerializeSupport</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_FilterItemCollection__ctor" data-uid="FarPoint.Win.Spread.FilterItemCollection.#ctor">
          <a class="xref" href="FarPoint.Win.Spread.FilterItemCollection.-ctor.html#FarPoint_Win_Spread_FilterItemCollection__ctor">FilterItemCollection()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a custom filter collection.</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_FilterItemCollection_Count" data-uid="FarPoint.Win.Spread.FilterItemCollection.Count">
          <a class="xref" href="FarPoint.Win.Spread.FilterItemCollection.Count.html#FarPoint_Win_Spread_FilterItemCollection_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>The number of elements contained in the FilterItemCollection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_FilterItemCollection_Item_System_Int32_" data-uid="FarPoint.Win.Spread.FilterItemCollection.Item(System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.FilterItemCollection.Item.html#FarPoint_Win_Spread_FilterItemCollection_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a custom filter item from the collection.</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_FilterItemCollection_Add_FarPoint_Win_Spread_IFilterItem_" data-uid="FarPoint.Win.Spread.FilterItemCollection.Add(FarPoint.Win.Spread.IFilterItem)">
          <a class="xref" href="FarPoint.Win.Spread.FilterItemCollection.Add.html#FarPoint_Win_Spread_FilterItemCollection_Add_FarPoint_Win_Spread_IFilterItem_">Add(IFilterItem)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a filter item to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_FilterItemCollection_Clear" data-uid="FarPoint.Win.Spread.FilterItemCollection.Clear">
          <a class="xref" href="FarPoint.Win.Spread.FilterItemCollection.Clear.html#FarPoint_Win_Spread_FilterItemCollection_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the custom filter items from the filter item list.<br>
This method does not remove the DefaultFilterItem from the list if it exists.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_FilterItemCollection_Deserialize_System_Xml_XmlNodeReader_FarPoint_Win_Spread_SheetView_" data-uid="FarPoint.Win.Spread.FilterItemCollection.Deserialize(System.Xml.XmlNodeReader,FarPoint.Win.Spread.SheetView)">
          <a class="xref" href="FarPoint.Win.Spread.FilterItemCollection.Deserialize.html#FarPoint_Win_Spread_FilterItemCollection_Deserialize_System_Xml_XmlNodeReader_FarPoint_Win_Spread_SheetView_">Deserialize(XmlNodeReader, SheetView)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads the object from XML.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_FilterItemCollection_GetEnumerator" data-uid="FarPoint.Win.Spread.FilterItemCollection.GetEnumerator">
          <a class="xref" href="FarPoint.Win.Spread.FilterItemCollection.GetEnumerator.html#FarPoint_Win_Spread_FilterItemCollection_GetEnumerator">GetEnumerator()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns an enumerator that iterates through the System.Collections.CollectionBase instance.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_FilterItemCollection_IndexOf_FarPoint_Win_Spread_IFilterItem_" data-uid="FarPoint.Win.Spread.FilterItemCollection.IndexOf(FarPoint.Win.Spread.IFilterItem)">
          <a class="xref" href="FarPoint.Win.Spread.FilterItemCollection.IndexOf.html#FarPoint_Win_Spread_FilterItemCollection_IndexOf_FarPoint_Win_Spread_IFilterItem_">IndexOf(IFilterItem)</a>
        </td>
        <td class="markdown level1 summary"><p>Searches for the specified IFilterItem and returns the zero-based index of
the first occurrence within the entire System.Collections.ArrayList.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_FilterItemCollection_Insert_System_Int32_FarPoint_Win_Spread_IFilterItem_" data-uid="FarPoint.Win.Spread.FilterItemCollection.Insert(System.Int32,FarPoint.Win.Spread.IFilterItem)">
          <a class="xref" href="FarPoint.Win.Spread.FilterItemCollection.Insert.html#FarPoint_Win_Spread_FilterItemCollection_Insert_System_Int32_FarPoint_Win_Spread_IFilterItem_">Insert(int, IFilterItem)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts a filter item into the collection at a specified location.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_FilterItemCollection_Remove_FarPoint_Win_Spread_IFilterItem_" data-uid="FarPoint.Win.Spread.FilterItemCollection.Remove(FarPoint.Win.Spread.IFilterItem)">
          <a class="xref" href="FarPoint.Win.Spread.FilterItemCollection.Remove.html#FarPoint_Win_Spread_FilterItemCollection_Remove_FarPoint_Win_Spread_IFilterItem_">Remove(IFilterItem)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the specified custom filter item from the filter item list.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_FilterItemCollection_RemoveAt_System_Int32_" data-uid="FarPoint.Win.Spread.FilterItemCollection.RemoveAt(System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.FilterItemCollection.RemoveAt.html#FarPoint_Win_Spread_FilterItemCollection_RemoveAt_System_Int32_">RemoveAt(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the specified custom filter item from the filter item list.<br>
This method does not remove the DefaultfilterItem from the list if it exists.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_FilterItemCollection_Serialize_System_Xml_XmlTextWriter_" data-uid="FarPoint.Win.Spread.FilterItemCollection.Serialize(System.Xml.XmlTextWriter)">
          <a class="xref" href="FarPoint.Win.Spread.FilterItemCollection.Serialize.html#FarPoint_Win_Spread_FilterItemCollection_Serialize_System_Xml_XmlTextWriter_">Serialize(XmlTextWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Saves the object to XML.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
