Skip to main content

DateEdit.DateTime Property

Gets or sets the editor’s date/time value. This is a dependency property.

Namespace: DevExpress.WinUI.Editors

Assembly: DevExpress.WinUI.Editors.v23.2.dll

NuGet Package: DevExpress.WinUI

#Declaration

[DP("$DateTime.Today", Handler = "OnDateTimeChanged")]
public DateTime DateTime { get; set; }

#Property Value

Type Description
DateTime

A DateTime object that specifies the editor’s value.

#Remarks

The editor’s minimum and maximum values can be specified using the DateEdit.MinValue and DateEdit.MaxValue properties, respectively.

Changing the DateTime property’s value fires the BaseEdit.EditValueChanged event.

See Also