HeaderPane
Main
Hide
Share Link
Print

PlaceholderText Property, SftDate Object

Defines the text shown while the field is empty.

Syntax

Get

C#string Text = object.PlaceholderText;
VB.NETText = object.PlaceholderText As String
C++_bstr_t Text = object->PlaceholderText;
_bstr_t Text = object->GetPlaceholderText();
CHRESULT object->get_PlaceholderText(BSTR* Text);

Put

C#string object.PlaceholderText = Text;
VB.NETobject.PlaceholderText = Text As String
C++_bstr_t object->PlaceholderText = Text;
void object->PutPlaceholderText(_bstr_t Text);
CHRESULT object->put_PlaceholderText(BSTR Text);

object

A SftDate object.

Text

Defines the text shown while the field is empty.

Comments

The PlaceholderText property defines the text shown in an empty date field control (AllowEmpty), for example "No date". The default is an empty string. p The placeholder is shown in the color PlaceholderForeColor while the field is empty. In segment editing (EditStyle) it is hidden while the field has the input focus, so the user sees the parts being typed. In free-form editing, the text box shows it as its cue banner, in the system's gray, also while it has the input focus.

See Also SftDate Object | Object Hierarchy | Values


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