Applies to

DatePicker and EditMask controls


The CalendarTitleTextColor property specifies the color used for text in the calendar's title.


This property does not work on the Windows 8.1/10 operating system.

In a painter

Select the desired color from the TitleTextColor drop-down list on the Calendar tab page of the Properties view.

In scripts

The CalendarTitleTextColor property is a long indicating the color to be used for the title for a calendar in a DatePicker control or an EditMask control with the DropDownCalendar property set to true. If you do not know the long value for the color, choose Design>Custom Colors to determine the red, green, and blue values and then call the RGB function to specify the color in a script.

For example, the following line sets the title text color for the control dp_1:

dp_1.CalendarTitleTextColor = RGB(0,0,255)