[]
        
(Showing Draft Content)

FarPoint.Web.Spread.ColorFilterItem

ColorFilterItem Class

Provides a ColorFilter class to filter cells using the color specified in the filter criteria.

Inheritance
ColorFilterItem
Namespace: FarPoint.Web.Spread
Assembly: FarPoint.Web.Spread.dll
Syntax
public class ColorFilterItem : BaseFilterItem, ISerializeSupport, ISortedFilterItem, IFilterItem
Public Class ColorFilterItem
    Inherits BaseFilterItem
    Implements ISerializeSupport, ISortedFilterItem, IFilterItem

Constructors

Name Description
ColorFilterItem(bool, Color)

Creates a new ColorFilter instance with a customized setting.

Properties

Name Description
Color

Gets or sets the filter based on color.

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.

FilterTextColor

Gets or sets whether the filter is based on the cell forecolor or backcolor.

SheetView

Sets the SheetView object to the filter.

Methods

Name Description
Deserialize(XmlNodeReader)

Loads the object from XML.

Filter(int)

Filters the specified column of the sheet.

Serialize(XmlTextWriter)

Saves the object to XML.

ShowInDropDown(int, int[])

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