[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'Calendar' (#lcl)

# TCustomCalendar.DisplaySettings

DisplaySettings contains options which control the appearance or behavior for the calendar control.

## Declaration

Source position: calendar.pp line 125

`public property TCustomCalendar.DisplaySettings : TDisplaySettings read GetDisplaySettings write SetDisplaySettings default DefaultDisplaySettings;`

## Description

DisplaySettings contains options which control the appearance or behavior for the calendar control. DisplaySettings is a set type which contains zero or more TDisplaySetting values, including:

dsShowHeadings
  Displays a Month/Year heading. Has no effect on the Windows platform; Month and Year headings are always enabled.
dsShowDayNames
  Displays Day names. Has no effect on the Windows platform; Day names are always enabled.
dsNoMonthChange
  Prevents changing the current month on the calendar. Has no effect on the Windows platform; use MinDate and MaxDate to limit the available calendar dates.
dsShowWeekNumbers
  Displays week numbers.

Remark: | The value dsStartMonday is no longer available in LCL version 2.2 or higher. It has been replaced by the FirstDayOfWeek property on platforms where the capability is supported (Win32, QT, QT5). This is Delphi compatible, and allows any day of the week to be used as the first day of the week.

## See also

TCustomCalendar.FirstDayOfWeek |  | Indicates the day of the week displayed as the first column in the calendar grid.
TDisplaySettings |  | Set type for TDisplaySetting values.
TDisplaySetting |  | Enumerated type with values that control display settings in TCalendar.