YearlyRecurrenceControl.WeekOfMonthNumber Property
Gets or sets the specified number of the week in a month when the Day of Week type of yearly appointment recurrence is active in the YearlyRecurrenceControl control.
Namespace: DevExpress.Xpf.Scheduler.UI
Assembly: DevExpress.Xpf.Scheduler.v14.2.dll
#Declaration
#Property Value
Type | Description |
---|---|
Week |
A Week |
#Remarks
The WeekOfMonthNumber property value depends on the yearly recurrence type currently selected in the YearlyRecurrenceControl control (YearlyRecurrenceControl.YearlyRecurrenceTypes, YearlyRecurrenceControl.YearlyRecurrenceType).
If the Day of Week recurrence type is active (the WeekOfMonth enumeration member assigned to the YearlyRecurrenceControl.WeekOfMonth property is other than WeekOfMonth.None), WeekOfMonthNumber returns the YearlyRecurrenceControl.WeekOfMonth property value. If you set the WeekOfMonthNumber property to one of the WeekOfMonth members, except WeekOfMonth.None, the YearlyRecurrenceControl.WeekOfMonth property value will be changed to this value.
If the Day Number recurrence type is active (the YearlyRecurrenceControl.WeekOfMonth property value is set to WeekOfMonth.None), WeekOfMonthNumber returns WeekOfMonth.First, and setting the WeekOfMonthNumber property will not change the YearlyRecurrenceControl.WeekOfMonth property value.