Table of Contents

TTMSFNCCalendarDateAppearance Class

Comprehensive appearance settings for calendar date cells in their normal, selected, disabled, today, before-month, after-month, and badge states.

API unit family: TMSFNCCalendar Inherits from: TPersistent

Syntax

TTMSFNCCalendarDateAppearance = class(TPersistent)

Properties

Name Description
BadgeFill Background fill of the event badge drawn on date cells that have associated events.
BadgeFont Font used for the badge text on event-marked date cells.
BadgeStroke Border stroke of the event badge drawn on event-marked date cells.
DateAfterFill Background fill of days shown from the next month.
DateAfterFont Font used for days shown from the next month.
DateAfterStroke Border stroke of days shown from the next month.
DateBeforeFill Background fill of days shown from the previous month.
DateBeforeFont Font used for days shown from the previous month.
DateBeforeStroke Border stroke of days shown from the previous month.
DisabledFill Background fill of disabled date cells.
DisabledFont Font used for date numbers in disabled cells.
DisabledStroke Border stroke of disabled date cells.
Fill Background fill of date cells in their normal state.
Font Font used for date numbers in their normal state.
HorizontalTextAlign Horizontal alignment of date numbers within the cell.
SelectedFill Background fill of selected date cells.
SelectedFont Font used for date numbers in selected cells.
SelectedHorizontalTextAlign Horizontal alignment of date numbers in selected cells.
SelectedStroke Border stroke of selected date cells.
SelectedVerticalTextAlign Vertical alignment of date numbers in selected cells.
ShowDaysAfter When True, days from the next month are shown in the last row of the calendar grid.
ShowDaysBefore When True, days from the previous month are shown in the first row of the calendar grid.
ShowFocus When True, a focus rectangle is drawn around the focused date cell.
Stroke Border stroke of date cells in their normal state.
TodayFill Background fill of the cell representing today's date.
TodayFont Font used for the cell representing today's date.
TodayStroke Border stroke of the cell representing today's date.
VerticalTextAlign Vertical alignment of date numbers within the cell.

Events

Name Description
OnChange Fires when any date appearance setting changes.