ASP.NET Pack Programmer's Guide
Week Range View

The Week Range view displays a range of weeks. Each week occupies a whole row whose cells represent days. The day cells display the day name or number according to the GeneralFormat, FirstDayOfMonthFormat and FirstDayOfYearFormat properties of the associated DaySettings, and the schedule items set to occur on the corresponding date.

In order to enable the Week Range view, set the CurrentView property of the Calendar class to WeekRange. Use the WeekRangeSettings property of the Calendar class to adjust the appearance of the view. The ItemSettings property lets you specify how schedule items should be displayed.

Use the DaySettings.Style property to specify individual styles for cells and DaySettings.HeaderStyle for cell's headers. Style the main and the day names headers through MainHeaderStyle and DayNamesHeaderStyle properties. Use WeekRangeSettings.Style to set the style of the entire view.

The Week Range view supports two different layouts, specified in the WeekRangeSettings.ViewStyle property of the Calendar class. WeekPerRow is the default view, where each week occupies a whole row whose cells represent days. SingleWeek view provides a more detailed look, where the days of the week are divided into two columns and four rows.