[]
        
(Showing Draft Content)

FarPoint.Win.Spread.Top10FilterItem

Top10FilterItem Class

Provides a Top10Filter class to filter cells whose values are numeric.

Inheritance
Top10FilterItem
Namespace: FarPoint.Win.Spread
Assembly: FarPoint.Win.Spread.dll
Syntax
public class Top10FilterItem : BaseFilterItem, ISerializeSupport, ISerializable, ICloneable, IFilterItem
Public Class Top10FilterItem
    Inherits BaseFilterItem
    Implements ISerializeSupport, ISerializable, ICloneable, IFilterItem

Constructors

Name Description
Top10FilterItem(bool, int, bool)

Creates a new Top10Filter instance with customized settings.

Top10FilterItem(SerializationInfo, StreamingContext)

Initializes a new instance of the Top10FilterItem class.

Properties

Name Description
DisplayAtTopOfList

Gets or sets whether the display name is added to the top of the filter drop-down list.

DisplayName

Gets the display name of the filter.

IsDescending

Gets or sets a boolean value that specifies whether numeric numbers are filtered in descending order.

IsObjectValueEditable

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.

IsPercent

Gets or sets a boolean value that specifies whether the filter is based on a percentage.

Label

Gets displayed text of the filter (filter name or operator).

ObjectValue

Gets or sets the text value for the filter.

Rank

Gets or sets a number filter.

Methods

Name Description
Clone()

Creates a new object that is a copy of the current instance.

Deserialize(XmlNodeReader)

Loads the object from XML.

Equals(object)

Determines whether the specified System.Object is equal to the current Top10Filter object.

Filter(int)

Filters the specified column of the sheet.

GetHashCode()

Serves as a hash function for the Top10FilterItem class.

GetObjectData(SerializationInfo, StreamingContext)

Populates a SerializationInfo with the data needed to serialize the target object.

Serialize(XmlTextWriter)

Saves the object to XML.

ShowInDropDown(int, int[])

Determines whether the name is displayed in the filter drop-down list.