Class DynamicFilter
Describes a filter which hides or shows the cells based on a criteria specified by the filter type.
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Model.Filtering
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class DynamicFilter : CellValuesFilterBase, IFilter, ITranslatable, ICopyable<IFilter>, IWorksheetFilter, IRangeFilter
Constructors
DynamicFilter(Int32, DynamicFilterType)
Initializes a new instance of the Dynamic
Declaration
public DynamicFilter(int relativeColumnIndex, DynamicFilterType dynamicFilterType)
Parameters
System. Relative index of the column. |
Dynamic Type of the dynamic filter. |
Properties
DynamicFilterType
Gets the type of the dynamic filter.
Declaration
public DynamicFilterType DynamicFilterType { get; }
Property Value
Dynamic The type of the dynamic filter. |
Methods
Equals(Object)
Determines whether the specified System.
Declaration
public override bool Equals(object obj)
Parameters
System. The System. |
Returns
System. true if the specified System. |
Overrides
GetHashCode()
Serves as a hash function for a particular type.
Declaration
public override int GetHashCode()
Returns
System. A hash code for the current System. |
Overrides
GetValue(Cells, Int32, Int32)
Gets the value of the cell at the specified index. This value is used to determine whether the row will be hidden by the filter.
Declaration
public override object GetValue(Cells cells, int rowIndex, int columnIndex)
Parameters
Cells
cells
The cells of the worksheet. |
System. Index of the row. |
System. Index of the column. |
Returns
System. The value of the cell. |
Overrides
ShouldShowValue(Object)
Determines whether the row which contains the specified value will be shown.
Declaration
public override bool ShouldShowValue(object value)
Parameters
System. The value retrieved by the GetValue method. |
Returns
System. A value indicating whether the row which contains the specified value will be shown |