HeaderPane
Main
Hide
Share Link
Print

SftDateCalendar Object (ISftDateCalendar Interface)

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/MethodDescription
AllowedViewsDefines the views the user can switch to.
BackColorDefines the calendar's background color.
BorderColorDefines the color of the separator lines.
ClearTextDefines the text of the Clear button.
DayOfWeekForeColorDefines the color of the day of the week headers.
DisabledDaysOfWeekDefines the days of the week that cannot be selected.
DisabledForeColorDefines the color of days that cannot be selected.
FirstDayOfWeekDefines the first day of the week.
FontDefines the font of the days (Nothing for the control's font).
ForeColorDefines the color of the days.
HighlightTodayDefines whether today's date is marked.
HotBackColorDefines the background color of the day under the mouse.
InitialViewDefines the view shown first.
MaxRangeDaysDefines the maximum number of days in a range (0 for no limit).
MonthsAcrossDefines the number of months shown side by side (1 to 12).
MonthsDownDefines the number of months shown one below the other (1 to 12).
RangeBackColorDefines the background color of the days within a selected range.
RefreshDaysFormats all days again (DayFormatting event).
ScrollMonthsDefines the number of months scrolled by the previous and next buttons (0 for the number of months shown).
SelectedBackColorDefines the background color of the selected day.
SelectedForeColorDefines the color of the selected day.
ShowClearButtonDefines whether the Clear button is shown.
ShowTodayButtonDefines whether the Today button is shown.
ShowTrailingDatesDefines whether days of the adjacent months are shown.
ShowWeekNumbersDefines whether week numbers are shown.
SpecialDatesReturns the collection of special dates.
TitleBackColorDefines the background color of the month titles.
TitleFontDefines the font of the month titles (Nothing for a bold version of the days' font).
TitleForeColorDefines the color of the month titles.
TodayColorDefines the color of today's marker.
TodayDateDefines the date used as today; Null for the current date.
TodayTextDefines the text of the Today button; {0} stands for today's date.
TrailingForeColorDefines the color of the days of the adjacent months.
WeekendForeColorDefines the color of Saturdays and Sundays.
WeekNumberBackColorDefines the background color of the week numbers.
WeekNumberForeColorDefines the color of the week numbers.
WeekNumberRuleDefines how week numbers are counted.

See Also Object Hierarchy


Last Updated 11/29/2026 - (email)
© 2026 Softel vdm, Inc.