PlaceholderForeColor Property, SftDate Object
Defines the color of the placeholder text.
Syntax
Get
| C# | System.Drawing.Color Clr = object.PlaceholderForeColor; |
| VB.NET | Clr = object.PlaceholderForeColor As System.Drawing.Color |
| C++ | OLE_COLOR Clr = object->PlaceholderForeColor; OLE_COLOR Clr = object->GetPlaceholderForeColor(); |
| C | HRESULT object->get_PlaceholderForeColor(OLE_COLOR* Clr); |
Put
| C# | System.Drawing.Color object.PlaceholderForeColor = Clr; |
| VB.NET | object.PlaceholderForeColor = Clr As System.Drawing.Color |
| C++ | OLE_COLOR object->PlaceholderForeColor = Clr; void object->PutPlaceholderForeColor(OLE_COLOR Clr); |
| C | HRESULT object->put_PlaceholderForeColor(OLE_COLOR Clr); |
object
A SftDate object.
Clr
Defines the color of the placeholder text.
Comments
The PlaceholderForeColor property defines the color of the placeholder text (PlaceholderText) shown in an empty field in segment editing. The default is colorSftDateDefault (-1), the system's gray text color, which follows dark mode and high contrast. p In free-form editing, the text box shows the placeholder as its cue banner in the system's gray.
See Also SftDate Object | Object Hierarchy | Colors