- Online Barcode Generator
- How To
- Buy Now
Customize MultipleDay with KetticScheduler Control
The multiple day view of KetticScheduler allows the developers to display a single day as well as multiple sequences of days, or duration, on the calendar in C# Windows Forms application. This multiple day view is able to display multiple date-time intervals with appointments arranged one next to another. In this tutorial, we are going through the process of showing multiple days and durations on calendar and customizing the views for C# .NET application.
C# Setting MultidayView for Calendar with Scheduler
To change the view of Scheduler to MultipleDayView, we shall use the properties, ActiveViewType or ActiveView as the C# code below.
KetticScheduler control provides the Intervals collection for the users to insert, delete, and customize a date time Interval in SchedulerMultiDayView instance. The KetticScheduler View class offers the GetAppointmentsInInterval helper method to get all appointments in a particular interval. In addition, to get all appointments in the multiple day view, we shall use the Appointments collection. The following C# code shows how to set the date time interval.
C# Set Work time Hours on Calendar with Scheduler
The MultipleDayView of KetticScheduler control allows the users to predefine a range of hours to indicate the timeline and the end users of your application can easily carry out the scheduling. The work time hours on the calendar will be indicated with a slightly different color. The C# code below demonstrates how to set the work time hours through the TimeInterval property.
Display and Hide the Day Headers in Scheduler
To display and hide the day headers on Calendar for Multiple Day view, we can enable the DisplayHeader property of the KetticScheduler control as below.
Set Day Header Format for Calendar in Scheduler
To customize the format of the day header, KetticScheduler contains the HeaderFormat property to achieve the formatting. The C# code below shows how to set the format.
Ruler Scale for Day View Setting in C#.NET
KetticScheduler View class contains the RangeFactor property to set the scale of the ruler. It is possible to set the ruler scale to be a predefined values or a new scale. The available Range factor modes include 5 minutes, 10 minutes, a quarter, half hour and one hour. To set the scale range for multiple day view, use the C# code below.
Set Height of Ruler and Row in Scheduler
The multiple day view of the KetticScheduler provides the RulerScaleSize property to change the height of the ruler as well as the row. The C# code below demonstrates how to achieve this.
Change the Ruler Width with KetticScheduler
The multiple day view of the KetticScheduler provides the RulerWidth property to customize the width of the ruler. The valid value ranges from 0 pixels to greater. The C# code below shows the modification.
C# Set Start and End Times for Calendar with Scheduler
To set the start and end times of a multiple day view shown on your Calendar, we can use the RulerStartScale and RulerEndScale properties, whose valid values ranges from 0 to 24. The start and end times setting will be useful when we display part of the hours in a day. The C# code below shows how to achieve this.
Set Ruler Time Format for Calendar in Scheduler
The multiple day view of the KetticScheduler provides the RulerTimeFormat property for the users to customize the time format to be am or pm. The C# code below demonstrates the setting of Ruler Time Format.
Display and Hide Ruler on Calendar in Scheduler
To display and hide the ruler for multiple day view, enable or disable the DisplayRuler property in Scheduler
UI Controlsfor Windows Forms.NET WinForms UI Overview.NET WinForms UI Features.NET WinForms UI GuideC# WinForms UI DesignVB.NET WinForms UI Design
WinForms UI Controls