HeaderPane
Main
Hide
Share Link
Print

TodayText Property, SftDateCalendar Object

Defines the text of the Today button; {0} stands for today's date.

Syntax

Get

C#string Text = object.TodayText;
VB.NETText = object.TodayText As String
C++_bstr_t Text = object->TodayText;
_bstr_t Text = object->GetTodayText();
CHRESULT object->get_TodayText(BSTR* Text);

Put

C#string object.TodayText = Text;
VB.NETobject.TodayText = Text As String
C++_bstr_t object->TodayText = Text;
void object->PutTodayText(_bstr_t Text);
CHRESULT object->put_TodayText(BSTR Text);

object

A SftDateCalendar object.

Text

Defines the text of the Today button; {0} stands for today's date.

Comments

The TodayText property defines the text of the Today button (ShowTodayButton). The default is "Today: \{0\}". p The placeholder {0} is replaced by today's date (TodayDate) in the short date format of the culture (Culture). "{\{" and "}\}" show a brace. A text without placeholder is shown as is. p The setting applies to a month calendar control and to the dropdown calendar of a date field control.

See Also SftDateCalendar Object | Object Hierarchy | Today and Clear Buttons


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