DataGate Print File Designer® - Build 8.0.355 and above

DateTimeField.FieldType Property

The DateTimeType enumeration describing the type of field.  The default is DateField indicating the field will contain a date.

control.FieldType [= DateTimeType]

Property Value

DateTimeType.  Gets or sets the enumeration value describing the type of field.  The default is DateField indicating the field will contain a date.

Remarks

To set the FieldType of a control, click on the right side of the property and choose one of the options in the drop-down box.


Setting Description
DateField (Default) The field is a date.
TimeField The field is a time.
TimestampField The field is a timestamp (date and time).

The format of the field will depend upon the FieldFormat property value.  See FieldFormat for examples of each combination of FieldType and FieldFormat value settings.

See Also

DateTimeField Class | DateTimeField Class Members | DateTimeType Enumeration | FieldFormat Property