Skip to main content
A newer version of this page is available. .
Tab

ASPxTimeEdit.DateTime Property

Gets or sets the date and time displayed by the editor.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(typeof(DateTime), "")]
public DateTime DateTime { get; set; }

Property Value

Type Default Description
DateTime String.Empty

A DateTime object representing the date and time.

Remarks

Use the DateTime property to specify the editor’s selected date-time value. Changing this property affects the ASPxTimeEdit.Value property of the time editor. Setting the DateTime property to a DateTime.MinValue value assigns a null value to the editor’s ASPxTimeEdit.Value property.

See Also