Defines the text of the Today button; {0} stands for today's date.
Get
| C# | string Text = object.TodayText; |
| VB.NET | Text = object.TodayText As String |
| C++ | _bstr_t Text = object->TodayText; _bstr_t Text = object->GetTodayText(); |
| C | HRESULT object->get_TodayText(BSTR* Text); |
Put
| C# | string object.TodayText = Text; |
| VB.NET | object.TodayText = Text As String |
| C++ | _bstr_t object->TodayText = Text; void object->PutTodayText(_bstr_t Text); |
| C | HRESULT object->put_TodayText(BSTR Text); |
object
Text
Defines the text of the Today button; {0} stands for today's date.
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