Click or drag to resize
RecurrencePatternDayOrdinal Property

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public int DayOrdinal { get; set; }

Property Value

Type: Int32
Remarks

This property is meaningful only when RecurrenceFrequency is set to Monthly or Yearly and DayOfMonth is not set.

In such scenario it selects the n-th occurrence within the set of events specified by the rule. Valid values are from -31 to +31, 0 is ignored.

For example with RecurrenceFrequency set to Monthly and DaysOfWeekMask set to Monday DayOfMonth is interpreted in the following way:

    • 1: Selects the first monday of the month.
    • 3: Selects the third monday of the month.
    • -1: Selects the last monday of the month.

For detailed examples see the documentation of the MonthlyRecurrenceRule class.

See Also