TodaySection

Applies to

DatePicker, MonthCalendar controls

Description

Specifies whether the label "Today:" followed by the current date displays at the bottom of the calendar. If the TodayCircle property is true, a red rectangle displays to the left of the Today section.

Usage

In a painter

To set the TodaySection property:

  • Select or clear the TodaySection check box on the Calendar page in the Properties view for a DatePicker control or the General page in the Properties view for a MonthCalendar control.

In scripts

The TodaySection property takes a boolean value. The default is true. This example turns the TodaySection off in the calendar for a DatePicker control:

dp_1.TodaySection = false