# FarPoint.Win.Spread.Top10FilterItem

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_Top10FilterItem" data-uid="FarPoint.Win.Spread.Top10FilterItem" class="text-break">Top10FilterItem Class
</h1>
  <div class="markdown level0 summary"><p>Provides a Top10Filter class to filter cells whose values are numeric.</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">Top10FilterItem</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_Top10FilterItem_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Top10FilterItem : BaseFilterItem, ISerializeSupport, ISerializable, ICloneable, IFilterItem</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class Top10FilterItem
    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_Top10FilterItem__ctor_System_Boolean_System_Int32_System_Boolean_" data-uid="FarPoint.Win.Spread.Top10FilterItem.#ctor(System.Boolean,System.Int32,System.Boolean)">
          <a class="xref" href="FarPoint.Win.Spread.Top10FilterItem.-ctor.html#FarPoint_Win_Spread_Top10FilterItem__ctor_System_Boolean_System_Int32_System_Boolean_">Top10FilterItem(bool, int, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new Top10Filter instance with customized settings.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Top10FilterItem__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Win.Spread.Top10FilterItem.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Win.Spread.Top10FilterItem.-ctor.html#FarPoint_Win_Spread_Top10FilterItem__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">Top10FilterItem(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.Top10FilterItem.html">Top10FilterItem</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_Top10FilterItem_DisplayAtTopOfList" data-uid="FarPoint.Win.Spread.Top10FilterItem.DisplayAtTopOfList">
          <a class="xref" href="FarPoint.Win.Spread.Top10FilterItem.DisplayAtTopOfList.html#FarPoint_Win_Spread_Top10FilterItem_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_Top10FilterItem_DisplayName" data-uid="FarPoint.Win.Spread.Top10FilterItem.DisplayName">
          <a class="xref" href="FarPoint.Win.Spread.Top10FilterItem.DisplayName.html#FarPoint_Win_Spread_Top10FilterItem_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_Top10FilterItem_IsDescending" data-uid="FarPoint.Win.Spread.Top10FilterItem.IsDescending">
          <a class="xref" href="FarPoint.Win.Spread.Top10FilterItem.IsDescending.html#FarPoint_Win_Spread_Top10FilterItem_IsDescending">IsDescending</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a boolean value that specifies whether numeric numbers are filtered in descending order.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Top10FilterItem_IsObjectValueEditable" data-uid="FarPoint.Win.Spread.Top10FilterItem.IsObjectValueEditable">
          <a class="xref" href="FarPoint.Win.Spread.Top10FilterItem.IsObjectValueEditable.html#FarPoint_Win_Spread_Top10FilterItem_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 the value is true.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Top10FilterItem_IsPercent" data-uid="FarPoint.Win.Spread.Top10FilterItem.IsPercent">
          <a class="xref" href="FarPoint.Win.Spread.Top10FilterItem.IsPercent.html#FarPoint_Win_Spread_Top10FilterItem_IsPercent">IsPercent</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a boolean value that specifies whether the filter is based on a percentage.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Top10FilterItem_Label" data-uid="FarPoint.Win.Spread.Top10FilterItem.Label">
          <a class="xref" href="FarPoint.Win.Spread.Top10FilterItem.Label.html#FarPoint_Win_Spread_Top10FilterItem_Label">Label</a>
        </td>
        <td class="markdown level1 summary"><p>Gets displayed text of the filter (filter name or operator).</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Top10FilterItem_ObjectValue" data-uid="FarPoint.Win.Spread.Top10FilterItem.ObjectValue">
          <a class="xref" href="FarPoint.Win.Spread.Top10FilterItem.ObjectValue.html#FarPoint_Win_Spread_Top10FilterItem_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_Top10FilterItem_Rank" data-uid="FarPoint.Win.Spread.Top10FilterItem.Rank">
          <a class="xref" href="FarPoint.Win.Spread.Top10FilterItem.Rank.html#FarPoint_Win_Spread_Top10FilterItem_Rank">Rank</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a number 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_Top10FilterItem_Clone" data-uid="FarPoint.Win.Spread.Top10FilterItem.Clone">
          <a class="xref" href="FarPoint.Win.Spread.Top10FilterItem.Clone.html#FarPoint_Win_Spread_Top10FilterItem_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_Top10FilterItem_Deserialize_System_Xml_XmlNodeReader_" data-uid="FarPoint.Win.Spread.Top10FilterItem.Deserialize(System.Xml.XmlNodeReader)">
          <a class="xref" href="FarPoint.Win.Spread.Top10FilterItem.Deserialize.html#FarPoint_Win_Spread_Top10FilterItem_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_Top10FilterItem_Equals_System_Object_" data-uid="FarPoint.Win.Spread.Top10FilterItem.Equals(System.Object)">
          <a class="xref" href="FarPoint.Win.Spread.Top10FilterItem.Equals.html#FarPoint_Win_Spread_Top10FilterItem_Equals_System_Object_">Equals(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the specified System.Object is equal to the current Top10Filter object.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Top10FilterItem_Filter_System_Int32_" data-uid="FarPoint.Win.Spread.Top10FilterItem.Filter(System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.Top10FilterItem.Filter.html#FarPoint_Win_Spread_Top10FilterItem_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_Top10FilterItem_GetHashCode" data-uid="FarPoint.Win.Spread.Top10FilterItem.GetHashCode">
          <a class="xref" href="FarPoint.Win.Spread.Top10FilterItem.GetHashCode.html#FarPoint_Win_Spread_Top10FilterItem_GetHashCode">GetHashCode()</a>
        </td>
        <td class="markdown level1 summary"><p>Serves as a hash function for the <a class="xref" href="FarPoint.Win.Spread.Top10FilterItem.html">Top10FilterItem</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Top10FilterItem_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Win.Spread.Top10FilterItem.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Win.Spread.Top10FilterItem.GetObjectData.html#FarPoint_Win_Spread_Top10FilterItem_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_Top10FilterItem_Serialize_System_Xml_XmlTextWriter_" data-uid="FarPoint.Win.Spread.Top10FilterItem.Serialize(System.Xml.XmlTextWriter)">
          <a class="xref" href="FarPoint.Win.Spread.Top10FilterItem.Serialize.html#FarPoint_Win_Spread_Top10FilterItem_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_Top10FilterItem_ShowInDropDown_System_Int32_System_Int32___" data-uid="FarPoint.Win.Spread.Top10FilterItem.ShowInDropDown(System.Int32,System.Int32[])">
          <a class="xref" href="FarPoint.Win.Spread.Top10FilterItem.ShowInDropDown.html#FarPoint_Win_Spread_Top10FilterItem_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>
