Back to Devexpress

RecurrenceInfo.DayNumber Property

corelibraries-devexpress-dot-xtrascheduler-dot-recurrenceinfo-3ac81d79.md

latest2.3 KB
Original Source

RecurrenceInfo.DayNumber Property

Gets or sets the ordinal number of a day within a defined month.

Namespace : DevExpress.XtraScheduler

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

NuGet Package : DevExpress.Scheduler.Core

Declaration

csharp
public int DayNumber { get; set; }
vb
Public Property DayNumber As Integer

Property Value

TypeDescription
Int32

A positive integer value that specifies the day number within a month. The default value is 1.

|

Remarks

If the recurrence pattern is defined on a monthly or yearly time basis (the RecurrenceInfo.Type property is set to the RecurrenceType.Monthly or RecurrenceType.Yearly value), the DayNumber property specifies the number of the day within a month. This is used to calculate the date on which the corresponding appointment will reoccur. The effective values for this property are 1 to 31 inclusive which correspond to the days within a month.

Note

If a value set for the DayNumber property via code is greater than the number of days in the specified month, 31 will be assigned instead. At the same time, assigning a value less than 1 to the DayNumber property will cause a value of 1 to be assigned.

Implements

DayNumber

See Also

RecurrenceInfo Class

RecurrenceInfo Members

DevExpress.XtraScheduler Namespace