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 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 |