Defines what the dropdown shows.
Get
| C# | SftDateContentConstants Content = object.DropDownContent; |
| VB.NET | Content = object.DropDownContent As SftDateContentConstants |
| C++ | enum SftDateContentConstants Content = object->DropDownContent; enum SftDateContentConstants Content = object->GetDropDownContent(); |
| C | HRESULT object->get_DropDownContent(enum SftDateContentConstants* Content); |
Put
| C# | SftDateContentConstants object.DropDownContent = Content; |
| VB.NET | object.DropDownContent = Content As SftDateContentConstants |
| C++ | enum SftDateContentConstants object->DropDownContent = Content; void object->PutDropDownContent(enum SftDateContentConstants Content); |
| C | HRESULT object->put_DropDownContent(enum SftDateContentConstants Content); |
object
Content
Defines what the dropdown shows.
| Name | Value | Description |
|---|---|---|
| contentSftDateAuto | 0 | Calendar, time or both, from the format |
| contentSftDateCalendar | 1 | Calendar |
| contentSftDateTime | 2 | Time |
| contentSftDateCalendarAndTime | 3 | Calendar and time |
The DropDownContent property defines the content of the dropdown of a date field control. The default is contentSftDateAuto: a format (Format) with a date and without a time opens a calendar, a format with a time and without a date a time list or clock, and a format with both opens both. p A calendar alone closes when the user chooses a date, a time list or clock alone when the user chooses a time. With both, Tab switches between the calendar and the time, and the OK button or Enter applies the date and time together; Escape, a click outside the dropdown or leaving the field discards them. p A new content closes the dropdown if it is open.
See Also SftDate Object | Object Hierarchy | The Dropdown