C# Create Recurring Appointments with KetticScheduler
KetticScheduler control allows the developers to assign the recurrence rules to an appointment to build recurring appointment in C# Windows Forms application. This recurring appointment allows the recurrence based on minute, hour, day, week, month, and year. To build the recurrence for appointment, the Appointment C# class implements the IEvent interface, which contains the properties RecurrenceRule, MasterEvent, Occurrences and Exceptions. The Exceptions property of the interface allows the developers to create exceptional recurrence rule for the appointment.
Scheduler Recurrence Rule C# Class for Appointment
KetticScheduler control provides the RecurrenceRule C# class to build the recurrence rules for appointment. This RecurrenceRule C# class is the base class and contains different specialized classes to easily build the recurrence rules according to the relevant parameters. The specialized C# classes for recurring appointment include,
When the users need to customize the occurrence beyond the above rules, the IEvent interface of the appointment will create an exception and change the MasterEvent property to the original recurring appointment, which will be assigned to the Exceptions collection. As a result, the exception will contain no occurrence and be linked to the original recurrence. Create Recurring for Appointments in C#
The RecurrenceRule C# classes allows the users to define the start time, duration and number of occurrences through the constructor overloads. After we define the recurrence rule, we can assign it to the RecurrenceRule property for the appointments. The simple C# code below demonstrates how to define a rule.
To iterate the occurrences of an appointment, we should use the Appointment Occurrences property. Moreover, when we need to get part of the entire occurrences between specific starting and stopping times, we shall implement the Appointment GetOccurrences() method. The C# code below demonstrates how to achieve this.
When the users need to beyond the series of the recurrence rules, they can create exceptions in C# projects and add the exceptions to the MasterEvent.Exceptions collection of the IEvent interface. The C# code below shows how to customize the background and status of an IEvent instance, and then add the IEvent to the collection.
|
UI Controlsfor Windows Forms .NET WinForms UI Overview.NET WinForms UI Features.NET WinForms UI GuideC# WinForms UI DesignVB.NET WinForms UI DesignWinForms UI Controls WinForms Buttons UI Control WinForms Calendar UI ControlWinForms Carousel UI ControlWinForms Chart UI ControlWinForms Clock UI ControlCommandBar UI ControlWinForms Dock UI ControlDesktop Alert UI ControlDropDown List UI ControlWinForms Editor UI ControlForms and Dialogs UI ControlWinForms GridView UI ControlWinForms ListView UI ControlWinForms Menu UI ControlWinForms ComboBox UI ControlWinForms PageView UI ControlPanels and Labels UI ControlWinForms Panorama UI ControlWinForms PDFViewer UI ControlWinForms Property Grid UI ControlWinForms Ribbon UI ControlWinForms PivotGrid UI ControlWinForms RichTextBox UI ControlWinForms Rotator UI ControlWinForms Scheduler UI ControlAppointment & DialogsCreate AppointmentsRecurring AppointmentsRecurrence RuleDrag-and-DropCustomizeAdd TooltipsScheduler - ViewsPropertiesGet Started in C#Day ViewMulti-Day ViewWeek ViewWork Week ViewMonth ViewTimeline ViewGroupingTime ZoneScheduler - Data BindingGet Started in C#CodelessDatasource PropertyData ProviderCustom FieldsScheduler - NavigatorGet Started in C#Navigation StepImport & Export AppointmentsImport from ICalendarExport to ICalendarImport & Export to a Custom FileScheduler - LocalizationTranslate StringsLocalize Scheduler NavigatorLocalize Dialog StringsScheduler - ReminderGet Started in C#Scheduler - AppearanceThemes and AppearanceFormat CellsScheduler - Print SupportPrint StylesEvents & CustomizationWinForms Shortcuts UI ControlWinForms SpellChecker UI ControlWinForms Track & Status UI ControlWinForms TreeView UI ControlWinForms Wizard UI ControlWinForms Test UI ControlWinForms Theme UI Control |