1. DateField

Class DateField

Version: 21.x

Represents a date field.

Inheritance
System.Object
Field<System.DateTime>
EditableField<System.DateTime>
DateField
Implements
IValueField<System.DateTime>
Namespace: Sitecore.LayoutService.Client.Response.Model.Fields
Assembly: Sitecore.LayoutService.Client.Abstractions.dll
Syntax
public class DateField : EditableField<DateTime>, IFieldReader, IValueField<DateTime>, IEditableField, IField

Constructors

DateField()

Initializes a new instance of the DateField class.

Declaration
public DateField()

DateField(DateTime)

Initializes a new instance of the DateField class.

Declaration
public DateField(DateTime value)
Parameters
TypeNameDescription
System.DateTimevalue

The intial value.

Implements

If you have suggestions for improving this article, let us know!