HeaderPane
Main
Hide
Share Link
Print

DisabledForeColor Property, SftDateCalendar Object

Defines the color of days that cannot be selected.

Syntax

Get

C#uint Clr = object.DisabledForeColor;
VB.NETClr = object.DisabledForeColor As UInteger
C++OLE_COLOR Clr = object->DisabledForeColor;
OLE_COLOR Clr = object->GetDisabledForeColor();
CHRESULT object->get_DisabledForeColor(OLE_COLOR* Clr);

Put

C#uint object.DisabledForeColor = Clr;
VB.NETobject.DisabledForeColor = Clr As UInteger
C++OLE_COLOR object->DisabledForeColor = Clr;
void object->PutDisabledForeColor(OLE_COLOR Clr);
CHRESULT object->put_DisabledForeColor(OLE_COLOR Clr);

object

A SftDateCalendar object.

Clr

Defines the color of days that cannot be selected.

Comments

The DisabledForeColor property defines the color of days that cannot be selected: days before MinDate or after MaxDate, disabled days of the week (DisabledDaysOfWeek) and disabled special dates. The default is colorSftDateDefault (-1), a color that follows the system colors, dark mode and high contrast.

See Also SftDateCalendar Object | Object Hierarchy | Colors


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