[]
        
(Showing Draft Content)

FarPoint.Win.Spread.CustomFilterItem

CustomFilterItem Class

Provides a CustomFilters class that groups custom filter elements together.

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

Constructors

Name Description
CustomFilterItem(FilterCondition, FilterCondition, bool)

Creates an instance of custom filters.

CustomFilterItem(SerializationInfo, StreamingContext)

Initializes a new instance of the CustomFilterItem class.

Properties

Name Description
And

Gets or sets the And relationship.

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.

FirstCondition

Gets or sets the first custom filter.

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.

Label

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

ObjectValue

Gets or sets the text value for the filter.

SecondCondition

Gets or sets the second custom 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 CustomFilter object.

Filter(int)

Filters the specified column of the sheet.

GetHashCode()

Serves as a hash function for CustomFilterItem 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.