# FarPoint.Win.Spread.UserSpecifiedFilterItem

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_UserSpecifiedFilterItem" data-uid="FarPoint.Win.Spread.UserSpecifiedFilterItem" class="text-break">UserSpecifiedFilterItem Class
</h1>
  <div class="markdown level0 summary"><p>Represents a user specified filter item.</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"><a class="xref" href="FarPoint.Win.Spread.DefaultFilterItem.html">DefaultFilterItem</a></div>
    <div class="level3"><span class="xref">UserSpecifiedFilterItem</span></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><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</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_UserSpecifiedFilterItem_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class UserSpecifiedFilterItem : DefaultFilterItem, IFilterItem, ISerializeSupport, ISerializable, ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class UserSpecifiedFilterItem
    Inherits DefaultFilterItem
    Implements IFilterItem, ISerializeSupport, ISerializable, ICloneable</code></pre>
  </div>
  <h5 id="FarPoint_Win_Spread_UserSpecifiedFilterItem_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>This class is used to add a custom filter item when SheetView.AutoFilterColumn
is called with a string that is not present in the column, and -1 is the list item index.</p>
</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_UserSpecifiedFilterItem__ctor_FarPoint_Win_Spread_SheetView_System_String_" data-uid="FarPoint.Win.Spread.UserSpecifiedFilterItem.#ctor(FarPoint.Win.Spread.SheetView,System.String)">
          <a class="xref" href="FarPoint.Win.Spread.UserSpecifiedFilterItem.-ctor.html#FarPoint_Win_Spread_UserSpecifiedFilterItem__ctor_FarPoint_Win_Spread_SheetView_System_String_">UserSpecifiedFilterItem(SheetView, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new instance of the UserSpecifiedFilterItem object.</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_UserSpecifiedFilterItem_DisplayName" data-uid="FarPoint.Win.Spread.UserSpecifiedFilterItem.DisplayName">
          <a class="xref" href="FarPoint.Win.Spread.UserSpecifiedFilterItem.DisplayName.html#FarPoint_Win_Spread_UserSpecifiedFilterItem_DisplayName">DisplayName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the display name for the filter item.</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_UserSpecifiedFilterItem_Clone" data-uid="FarPoint.Win.Spread.UserSpecifiedFilterItem.Clone">
          <a class="xref" href="FarPoint.Win.Spread.UserSpecifiedFilterItem.Clone.html#FarPoint_Win_Spread_UserSpecifiedFilterItem_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_UserSpecifiedFilterItem_ShowInDropDown_System_Int32_System_Int32___" data-uid="FarPoint.Win.Spread.UserSpecifiedFilterItem.ShowInDropDown(System.Int32,System.Int32[])">
          <a class="xref" href="FarPoint.Win.Spread.UserSpecifiedFilterItem.ShowInDropDown.html#FarPoint_Win_Spread_UserSpecifiedFilterItem_ShowInDropDown_System_Int32_System_Int32___">ShowInDropDown(int, int[])</a>
        </td>
        <td class="markdown level1 summary"><p>Returns whether the item should be shown in the drop-down list.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
