A: In order to set the culture of the calendar to, say German, you can use the following syntax:
calendar1.Culture = new CultureInfo("de-DE");
A: There aren't any limitations in the trial version, and it never expires. It just displays that "Trial Version" label in the lower left corner.
A: See the question about Read-only timetable view in this FAQ for a possible solution. You can also set Calendar.Enabled to false to disable all interaction with the control (including scrollbars).
A: Try handling the DateClick event. The DateTime instance passed as parameter to the event handler will give you the start time of the clicked cell.
A: The method EnsureVisible enables you to 'scroll' to any date or item currently contained within the view. Here is a code which will 'scroll' to today:
calendar.EnsureVisible(DateTime.Today);This method only works if the targeted date or item is already contained somewhere within the control. The method simply adjusts the values of the scrollbars. It cannot change the start or end date of the contained time interval.
A: The only view that supports filtering of days is the Timetable view. The days displayed in this view are specified by the Calendar.TimetableSettings.Dates collection.
A: Define the people in the schedule as shown below:
Contact c; c = new Contact(); c.FirstName = "Bob"; calendar.Schedule.Contacts.Add(c); c = new Contact(); c.FirstName = "Mike"; calendar.Schedule.Contacts.Add(c); c = new Contact(); c.FirstName = "John"; calendar.Schedule.Contacts.Add(c); After some contacts are available in the Schedule, select the ones to be displayed in the calendar by adding them to the Contacts collection of the Calendar control. calendar.Contacts.Add(calendar.Schedule.Contacts); calendar.Contacts.Add(calendar.Schedule.Contacts); calendar.Contacts.Add(calendar.Schedule.Contacts); You could group the contact appointments in their distinct columns by setting GroupType as shown below: calendar.GroupType = GroupType.GroupByContacts; calendar.CurrentView = CalendarView.Timetable; calendar.TimetableSettings.VisibleColumns = 3;