YearlyRecurrenceControl.YearlyRecurrenceType Property
Gets or sets an object indicating what type of yearly recurrence is selected in the YearlyRecurrenceControl control.
Namespace: DevExpress.Xpf.Scheduler.UI
Assembly: DevExpress.Xpf.Scheduler.v24.2.dll
NuGet Package: DevExpress.Wpf.Scheduler
Declaration
Property Value
Type | Description |
---|---|
WeekOfMonth | A WeekOfMonth enumeration member. |
Available values:
Name | Description |
---|---|
None | There isn’t any recurrence rule based upon the weeks in a month. |
First | The recurring event will occur once a month, on the specified day or days of the first week in the month. |
Second | The recurring event will occur once a month, on the specified day or days of the second week in the month. |
Third | The recurring event will occur once a month, on the specified day or days of the third week in the month. |
Fourth | The recurring event will occur once a month, on the specified day or days of the fourth week in the month. |
Last | The recurring event will occur once a month, on the specified day or days of the last week in the month. |
Remarks
Important
You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.
If the Day Number type of yearly recurrence is selected in the YearlyRecurrenceControl control (the YearlyRecurrenceControl.WeekOfMonth property value is set to WeekOfMonth.None), the YearlyRecurrenceType property returns WeekOfMonth.None. If the Day of Week recurrence type is active (the MonthlyRecurrenceControl.WeekOfMonth property value is set to any other WeekOfMonth enumeration member), the YearlyRecurrenceType property returns WeekOfMonth.First.