TrailingForeColor Property, SftDateCalendar Object
Defines the color of the days of the adjacent months.
Syntax
Get
| C# | uint Clr = object.TrailingForeColor; |
| VB.NET | Clr = object.TrailingForeColor As UInteger |
| C++ | OLE_COLOR Clr = object->TrailingForeColor; OLE_COLOR Clr = object->GetTrailingForeColor(); |
| C | HRESULT object->get_TrailingForeColor(OLE_COLOR* Clr); |
Put
| C# | uint object.TrailingForeColor = Clr; |
| VB.NET | object.TrailingForeColor = Clr As UInteger |
| C++ | OLE_COLOR object->TrailingForeColor = Clr; void object->PutTrailingForeColor(OLE_COLOR Clr); |
| C | HRESULT object->put_TrailingForeColor(OLE_COLOR Clr); |
object
A SftDateCalendar object.
Clr
Defines the color of the days of the adjacent months.
Comments
The TrailingForeColor property defines the color of the days of the previous and next month (ShowTrailingDates). The default is colorSftDateDefault (-1), a color that follows the system colors, dark mode and high contrast.
See Also SftDateCalendar Object | Object Hierarchy | Colors