RecurrenceDays extensions methods.
Definition
Namespace:Telerik.Windows.Controls.ScheduleView
Assembly:Telerik.Windows.Controls.ScheduleView.dll
Syntax:
C#
public static class RecurrenceDaysExtensions
Inheritance: objectRecurrenceDaysExtensions
Methods
Adds the day.
C#
public static RecurrenceDays AddDay(this RecurrenceDays recurrenceDays, RecurrenceDays dayToAdd)
The recurrence days.
dayToAddRecurrenceDaysThe day to add.
Returns:Gets the day of week.
C#
public static DayOfWeek GetDayOfWeek(this RecurrenceDays recurrenceDays)
The recurrence days.
Returns: Exceptions:recurrenceDays
Gets the days of week.
C#
public static IEnumerable<DayOfWeek> GetDaysOfWeek(this RecurrenceDays recurrenceDays)
The recurrence days.
Returns:Gets the recurrence day.
C#
public static RecurrenceDays GetRecurrenceDay(this DayOfWeek dayOfWeek)
The day of week.
Returns: Exceptions:dayOfWeek is out of range.
Determines whether the specified recurrence days has day.
C#
public static bool HasDay(this RecurrenceDays recurrenceDays, DayOfWeek dayToCompare)
The recurrence days.
dayToCompareDayOfWeekThe day to compare.
Returns:true if the specified recurrence days has day; otherwise, false.
Determines whether the specified recurrence days has day.
C#
public static bool HasDay(this RecurrenceDays recurrenceDays, RecurrenceDays dayToCompare)
The recurrence days.
dayToCompareRecurrenceDaysThe day to compare.
Returns:true if the specified recurrence days has day; otherwise, false.