The C1Calendar control provides a familiar interface for users of iPhone's calendar. The calendar can be placed within the content area of a C1ViewPort control. Users can select dates and change months with the tap of a finger. The following diagram outlines the elements of the C1Calendar control:
The following section provides detailed information about each element of the C1Calendar control:
• Title
The date format of the C1Calendar control can be changed by setting the CalendarTitle property. The title can be removed by setting the ShowCalendarTitle property to False.
By default, the calendar title appears in the English (United States) cultural format, but the culture can be changed by setting the CultureInfo property to the desired cultural setting.
• Week Days
By default, the week days appear in the English (United States) cultural format, but the culture can be changed by setting the CultureInfo property to the desired cultural setting. You can also remove the week days from the calendar by setting the ShowWeekDays property to False.
• Previous Button
Users can navigate to the previous month by tapping the Previous button with a finger. To remove this navigation button, set the ShowMonthNavigator property to False. Please note that this will also move the Next Button.
• Next Button
Users can navigate to the following month by tapping the Next button with a finger. To remove this navigation button, set the ShowMonthNavigator property to False. Please note that this will also move the Previous Button.
• Selected Date
By default, no date is selected when the C1Calendar control opens. To select a date at run time, click a date with your finger. If you want the calendar to load with a date selected, set the SelectedDate property at design time.
• Current Date
The calendar automatically loads with the current date selected.
• Other Month Days
By default, the calendar loads with dates from other months at the beginning and/or the end of the calendar. These days are differentiated from the dates of the current month by their coloring. If you want to remove the other month dates, set the ShowOtherMonthDays property to False.
For task-based help concerning the C1Calendar control, see Using the C1Calendar Control.