ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Framework.Controls Namespace / DateTimeMode Enumeration
Version

DateTimeMode Enumeration
The mode in which the DateTimePickerControl should operate. See DateTimePickerControl.Mode.
Syntax
Members
MemberDescription
DateOnlyDisplay as a date only control. Use this format with a field of type ArcGIS.Core.Data.FieldType.DateOnly.
DateTimeDisplay as a date time control. Use this format with a field of type ArcGIS.Core.Data.FieldType.Date.
DateTimeMSDisplay as a date time control with milliseconds. Use this format with a field of type ArcGIS.Core.Data.FieldType.Date and ArcGIS.Core.Data.Field.Precision = 1 (high precision).
DateTimeOffsetDisplay as a date time with offset. Use this format with a field of type ArcGIS.Core.Data.FieldType.TimestampOffset.
TimeOnlyDisplay as a time only control. Use this format with a field of type ArcGIS.Core.Data.FieldType.TimeOnly.
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         ArcGIS.Desktop.Framework.Controls.DateTimeMode

Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3.2 or higher.
See Also