HeaderPane
Main
Hide
Share Link
Print

DropDownContent Property, SftDate Object

Defines what the dropdown shows.

Syntax

Get

C#SftDateContentConstants Content = object.DropDownContent;
VB.NETContent = object.DropDownContent As SftDateContentConstants
C++enum SftDateContentConstants Content = object->DropDownContent;
enum SftDateContentConstants Content = object->GetDropDownContent();
CHRESULT object->get_DropDownContent(enum SftDateContentConstants* Content);

Put

C#SftDateContentConstants object.DropDownContent = Content;
VB.NETobject.DropDownContent = Content As SftDateContentConstants
C++enum SftDateContentConstants object->DropDownContent = Content;
void object->PutDropDownContent(enum SftDateContentConstants Content);
CHRESULT object->put_DropDownContent(enum SftDateContentConstants Content);

object

A SftDate object.

Content

Defines what the dropdown shows.

NameValueDescription
contentSftDateAuto0Calendar, time or both, from the format
contentSftDateCalendar1Calendar
contentSftDateTime2Time
contentSftDateCalendarAndTime3Calendar and time

Comments

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


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