The SftDateCalendar object holds the settings of a calendar: the number of months, week numbers, the Today and Clear buttons, views, special dates, fonts and colors. It is returned by the Calendar property of a SftCalendar control, for the control itself, and of a SftDate control, for its dropdown calendar.
| Property/Method | Description |
|---|---|
| AllowedViews | Defines the views the user can switch to. |
| BackColor | Defines the calendar's background color. |
| BorderColor | Defines the color of the separator lines. |
| ClearText | Defines the text of the Clear button. |
| DayOfWeekForeColor | Defines the color of the day of the week headers. |
| DisabledDaysOfWeek | Defines the days of the week that cannot be selected. |
| DisabledForeColor | Defines the color of days that cannot be selected. |
| FirstDayOfWeek | Defines the first day of the week. |
| Font | Defines the font of the days (Nothing for the control's font). |
| ForeColor | Defines the color of the days. |
| HighlightToday | Defines whether today's date is marked. |
| HotBackColor | Defines the background color of the day under the mouse. |
| InitialView | Defines the view shown first. |
| MaxRangeDays | Defines the maximum number of days in a range (0 for no limit). |
| MonthsAcross | Defines the number of months shown side by side (1 to 12). |
| MonthsDown | Defines the number of months shown one below the other (1 to 12). |
| RangeBackColor | Defines the background color of the days within a selected range. |
| RefreshDays | Formats all days again (DayFormatting event). |
| ScrollMonths | Defines the number of months scrolled by the previous and next buttons (0 for the number of months shown). |
| SelectedBackColor | Defines the background color of the selected day. |
| SelectedForeColor | Defines the color of the selected day. |
| ShowClearButton | Defines whether the Clear button is shown. |
| ShowTodayButton | Defines whether the Today button is shown. |
| ShowTrailingDates | Defines whether days of the adjacent months are shown. |
| ShowWeekNumbers | Defines whether week numbers are shown. |
| SpecialDates | Returns the collection of special dates. |
| TitleBackColor | Defines the background color of the month titles. |
| TitleFont | Defines the font of the month titles (Nothing for a bold version of the days' font). |
| TitleForeColor | Defines the color of the month titles. |
| TodayColor | Defines the color of today's marker. |
| TodayDate | Defines the date used as today; Null for the current date. |
| TodayText | Defines the text of the Today button; {0} stands for today's date. |
| TrailingForeColor | Defines the color of the days of the adjacent months. |
| WeekendForeColor | Defines the color of Saturdays and Sundays. |
| WeekNumberBackColor | Defines the background color of the week numbers. |
| WeekNumberForeColor | Defines the color of the week numbers. |
| WeekNumberRule | Defines how week numbers are counted. |
See Also Object Hierarchy