Defines the day's text color (-1 for the default).
Get
| C# | uint Clr = object.ForeColor; |
| VB.NET | Clr = object.ForeColor As UInteger![]() |
| C++ | OLE_COLOR Clr = object->ForeColor; OLE_COLOR Clr = object->GetForeColor(); |
| C | HRESULT object->get_ForeColor(OLE_COLOR* Clr); |
Put
| C# | uint object.ForeColor = Clr; |
| VB.NET | object.ForeColor = Clr As UInteger![]() |
| C++ | OLE_COLOR object->ForeColor = Clr; void object->PutForeColor(OLE_COLOR Clr); |
| C | HRESULT object->put_ForeColor(OLE_COLOR Clr); |
object
A SftDateDayFormatting object.
Clr
Defines the day's text color (-1 for the default).
The ForeColor property defines the text color of the day, -1 (colorSftDateDefault) for the calendar's color. It starts out with the color of the special date that applies. p A color is used as given, in light and dark mode alike; a system color follows the mode. In high contrast mode, the color is ignored.
See Also SftDateDayFormatting Object | Object Hierarchy | Day Formatting