Back to Devexpress

TimePeriodConditionalFormatting.Condition Property

officefileapi-devexpress-dot-spreadsheet-dot-timeperiodconditionalformatting.md

latest2.0 KB
Original Source

TimePeriodConditionalFormatting.Condition Property

Gets or sets the time period used as a formatting criteria in the "date occurring…" conditional formatting rule.

Namespace : DevExpress.Spreadsheet

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
ConditionalFormattingTimePeriod Condition { get; set; }
vb
Property Condition As ConditionalFormattingTimePeriod

Property Value

TypeDescription
ConditionalFormattingTimePeriod

One of the ConditionalFormattingTimePeriod enumeration values.

|

Available values:

NameDescription
Last7Days

A date in the last seven days.

| | LastMonth |

A date occurring last month.

| | LastWeek |

A date occurring last week.

| | NextMonth |

A date occurring next month.

| | NextWeek |

A date occurring next week.

| | ThisMonth |

A date occurring this month.

| | ThisWeek |

A date occurring this week.

| | Today |

Today’s date.

| | Tomorrow |

Tomorrow’s date.

| | Yesterday |

Yesterday’s date.

|

See Also

TimePeriodConditionalFormatting Interface

TimePeriodConditionalFormatting Members

DevExpress.Spreadsheet Namespace