MonthlyRecurrenceControl.WeekOfMonthNumber Property
Gets or sets the specified number of the week in a month when the Day of Week type of monthly appointment recurrence is active in the MonthlyRecurrenceControl 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 monthly recurrence type currently selected in the MonthlyRecurrenceControl control (MonthlyRecurrenceControl.MonthlyRecurrenceTypes, MonthlyRecurrenceControl.MonthlyRecurrenceType).
If the Day of Week recurrence type is active (the WeekOfMonth enumeration member assigned to the MonthlyRecurrenceControl.WeekOfMonth property is other than WeekOfMonth.None), WeekOfMonthNumber returns the MonthlyRecurrenceControl.WeekOfMonth property value. If you set the WeekOfMonthNumber property to one of the WeekOfMonth members, except WeekOfMonth.None, the MonthlyRecurrenceControl.WeekOfMonth property value will be changed to this value.
If the Day Number recurrence type is active (the MonthlyRecurrenceControl.WeekOfMonth property value is set to WeekOfMonth.None), WeekOfMonthNumber returns WeekOfMonth.First and setting the WeekOfMonthNumber property will not change the MonthlyRecurrenceControl.WeekOfMonth property value.