[]
Provides a ColorFilter class to filter cells using the color specified in the filter criteria.
public class ColorFilterItem : BaseFilterItem, ISerializeSupport, ISerializable, ICloneable, IFilterItem
Public Class ColorFilterItem
Inherits BaseFilterItem
Implements ISerializeSupport, ISerializable, ICloneable, IFilterItem
| Name | Description |
|---|---|
| ColorFilterItem(bool, Color) | Creates a new ColorFilter instance with a customized setting. |
| ColorFilterItem(SerializationInfo, StreamingContext) | Initializes a new instance of the ColorFilterItem class. |
| 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. |
| IsObjectValueEditable | Gets or sets whether the object value can be edited. In the filter bar UI, the text editor is displayed if 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. |
| 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 ColorFilter object. |
| Filter(int) | Filters the specified column of the sheet. |
| GetHashCode() | Serves as a hash function for a particular type. |
| 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. |