- Online Barcode Generator
- How To
- Buy Now
Display and Set Work Week View with KetticScheduler in C#.NET
The WorkWeek View of KetticScheduler is a view mode that display the work days only on the Calendar in your Windows Forms application. That is to say, the WorkWeek view of KetticScheduler will hide the weekends in the view. The work week view mode is actually a special case of the week view mode. This view is enabled through setting the DisplayWeekend property to false.
C# Setting Work Week View with Scheduler
To change the default view to be the Work Week view in Scheduler, we shall set the active view type to Work Week View. The C# code as below shows the setting.
C# Get Week View in Scheduler for Windows Forms
When we set the WorkWeek View in KetticScheduler, we can use the GetDayView method to get the instance to the SchedulerWeekView. The C# code snippet below demonstrates how to get the C# method.
Alternatively, we can set the ActiveView property with the C# code below to get the work week view for Windows application.
C# Show/Hide the Day Headers in Scheduler
To show or hide the day headers of WorkWeek View on calendar, we can enable the DisplayHeader property of the KetticScheduler control as the C# code below.
Customize Day Header 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.
C# Change Ruler Scale for WeekView
KetticScheduler View C# 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, use the C# code below.
Set Height to Ruler and Row in Scheduler
The WorkWeek view of the KetticScheduler provides the RulerScaleSize property to customize the height of the ruler as well as the row. The C# code below demonstrates the height size customization.
C# Set Ruler Width in KetticScheduler
The WorkWeek 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 shown on your Calendar by using Scheduler control, 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 the setting.
Format Ruler Time for Calendar in Scheduler
The week 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, 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