New to Telerik Document ProcessingStart a free 30-day trial

Specifies time periods for conditional formatting rules that compare dates against relative time ranges.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Model.ConditionalFormattings

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

C#
public enum OccurrenceTimePeriod

Fields

Matches dates occurring in the last 7 days.

C#
Last7Days = 3

Matches dates occurring in the previous month.

C#
LastMonth = 6

Matches dates occurring in the previous week.

C#
LastWeek = 9

Matches dates occurring in the next month.

C#
NextMonth = 5

Matches dates occurring in the next week.

C#
NextWeek = 8

Matches dates occurring in the current month.

C#
ThisMonth = 4

Matches dates occurring in the current week.

C#
ThisWeek = 7

Matches dates occurring today.

C#
Today = 0

Matches dates occurring tomorrow.

C#
Tomorrow = 2

Matches dates occurring yesterday.

C#
Yesterday = 1