Class DynamicFilter
Represents the dynamic filter class used by the spreadsheet model.
Inherited Members
Namespace: DRIT.Spreadsheet
Assembly: DRIT.Spreadsheet.dll
Syntax
public class DynamicFilter
Constructors
DynamicFilter()
Initializes a new DynamicFilter for the supplied workbook data.
Declaration
public DynamicFilter()
Properties
MaxValue
Exposes the max value associated with DynamicFilter.
Declaration
public double? MaxValue { get; set; }
Property Value
| Type | Description |
|---|---|
| double? |
Type
Exposes the type associated with DynamicFilter.
Declaration
public DynamicFilterType Type { get; set; }
Property Value
| Type | Description |
|---|---|
| DynamicFilterType |
Value
Exposes the value associated with DynamicFilter.
Declaration
public double? Value { get; set; }
Property Value
| Type | Description |
|---|---|
| double? |
Methods
GetQuarter(DateTime)
Retrieves the requested quarter from DynamicFilter.
Declaration
public static int GetQuarter(DateTime dt)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime | dt | The dt used by the operation. |
Returns
| Type | Description |
|---|---|
| int | The get quarter returned by the operation. |
StartOfWeek(DateTime, DayOfWeek)
Exposes the start of week associated with DynamicFilter.
Declaration
public static DateTime StartOfWeek(DateTime dt, DayOfWeek startOfWeek)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime | dt | The dt used by the operation. |
| DayOfWeek | startOfWeek | The start of week used by the operation. |
Returns
| Type | Description |
|---|---|
| DateTime | The start of week returned by the operation. |