C# Set Month View in KetticScheduler for .NET application
KetticScheduler Month View mode allows the users to display an entire month at a time, and predefine the number of weeks that will be shown in the view for C# Windows Forms application. Moreover, if we add the Navigator control to the Scheduler, we can simply view the preview month and the coming month through the back and forward keyboard arrows. In this article, we are going through the process of showing the month in calendar and customizing the month view in C# Windows Forms application.
Structure of Month View of KetticScheduler
The Month View of KetticScheduler has a different structure from the Day, MultipleDay, Week and WorkWeek views. The Month View only consists of a Header, Month Cells for each day in a month, and the Appointment Cells in the month cell. C# Setting Month View in Scheduler for Calendar
To change the default calendar view to be the Month View in Scheduler for C# Windows Forms application, we shall set the active view type to Month View. The C# code as below demonstrates the setting.
Get Month View in Scheduler for .NET Application
The KetticScheduler provides the GetDayView method to get the instance to the SchedulerMonthView. The C# code snippet below demonstrates how to get the C# method.
Display and Hide the weekend for Month View
The Month View displays the weekend for each week by default. However, we can hide the weekends of each week by set the DisplayWeekend property to false.
Set Weeks Count in Month View for Scheduler
The month view is capable of displaying more than one week at a time. To predefine the number of the weeks in a month view, we can use the WeekCount property. The C# code below shows how to set the number of weeks.
Display and Hide Week/Row Headers in Month View
KetticScheduler View class contains the DisplayWeeksHeader property for users to display and hide the week headers in the month view. The C# code below shows how to enable the property.
Formatting the Week/Row Header for Month View
To customize the format of the weeks header, KetticScheduler contains the HeaderFormat property to achieve the formatting. The C# code below shows how to set the format to weeks header.
|
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 |