Back to Devexpress

ASPxTimeEdit.DateTime Property

aspnet-devexpress-dot-web-dot-aspxtimeedit.md

latest1.6 KB
Original Source

ASPxTimeEdit.DateTime Property

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

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(typeof(DateTime), "")]
public DateTime DateTime { get; set; }
vb
<DefaultValue(GetType(Date), "")>
Public Property DateTime As Date

Property Value

TypeDefaultDescription
DateTimeString.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

Time Editor

ASPxTimeEdit Class

ASPxTimeEdit Members

DevExpress.Web Namespace