C1.Silverlight.Schedule.5
RecurrencePattern Class Members
Properties  Methods 

The following tables list the members exposed by RecurrencePattern.

Public Properties
 NameDescription
Public PropertyDayOfMonthGets or sets the number of the day in its respective month on which each occurrence will occur. Applicable only when the RecurrenceType property is set to RecurrenceTypeEnum.Monthly or RecurrenceTypeEnum.Yearly. The default value is 1.  
Public PropertyDayOfWeekMaskGets or sets the WeekDaysEnum value representing the mask for week days on which the recurring appointment occurs. Monthly and yearly patterns are only valid for a single day. Weekly patterns are only valid as the Or of the DayOfWeekMask. The default value is 0.  
Public PropertyDescriptionGets the human-readable description of the RecurrencePattern object.  
Public PropertyDurationGets or sets the System.TimeSpan value indicating the duration of each occurrence in the recurrence pattern.  
Public PropertyEndTimeGets or sets the System.DateTime value indicating the end time for the given occurrence of the recurrence pattern.  
Public PropertyExceptionsGets the AppointmentList object which holds the list of Appointment objects that define the exceptions to that series of appointments. Appointment objects are added to the Exceptions whenever a property in the corresponding Appointment object is altered.  
Public PropertyInstanceGet or sets the WeekOfMonthEnum value specifying the count for which the recurrence pattern is valid for a given interval. This property is only valid for recurrences of the RecurrenceTypeEnum.MonthlyNth and RecurrenceTypeEnum.YearlyNth types and allows the definition of a recurrence pattern that is only valid for the Nth occurrence, such as "the 2nd Sunday in March" pattern. The default value is WeekOfMonthEnum.First.  
Public PropertyIntervalGets or sets the System.Int32 value specifying the interval between occurrences of the recurrence. The Interval property works in conjunction with the RecurrenceType property to determine the cycle of the recurrence. The maximum allowable value is 99 for weekly patterns and 999 for daily patterns. The default value is 1.  
Public PropertyMonthOfYearGets or sets the value indicating which month of the year is valid for the specified recurrence pattern. Can be a number from 1 to 12. This property is only valid for recurrence patterns whose RecurrenceType property is set to RecurrenceTypeEnum.YearlyNth or RecurrenceTypeEnum.Yearly. The default value is 1.  
Public PropertyNoEndDateGets or sets the System.Boolean value indicating if the recurrence pattern is endless. The default value is True.  
Public PropertyOccurrencesGets or sets the number of occurrences for the recurrence pattern. This property allows the definition of a recurrence pattern that is only valid for the specified number of subsequent occurrences. For example, you can set this property to 10 for a formal training course that will be held on the next ten Thursday evenings. The default value is 0.  
Public PropertyParentAppointmentGets the Appointment object which represents the master appointment for this RecurrencePattern object.  
Public PropertyPatternEndDateGets or sets the System.DateTime value indicating the end date of the recurrence pattern.  
Public PropertyPatternStartDateGets or sets the System.DateTime value indicating the start date of the recurrence pattern.  
Public PropertyRecurrenceTypeGets or sets the RecurrenceTypeEnum value determining the type of recurrence (daily, monthly, etc.). Default value is RecurrenceTypeEnum.Weekly.  
Public PropertyRemovedOccurrencesGets the AppointmentList object which holds the list of Appointment objects removed from that series of appointments.  
Public PropertyStartTimeGets or sets the System.DateTime value indicating the start time for the given occurrence of the recurrence pattern.  
Top
Public Methods
 NameDescription
Public MethodGetDescriptionOverloaded. Gets the human-readable description of the RecurrencePattern object according to the specified culture.  
Top
See Also

Reference

RecurrencePattern Class
C1.C1Schedule Namespace

 

 


Copyright (c) GrapeCity, inc. All rights reserved.