DateEdit.DateTime Property
In This Article
Gets or sets the editor's date/time value. This is a dependency property.
Namespace: DevExpress.Xpf.Editors
Assembly: DevExpress.Xpf.Core.v14.2.dll
#Declaration
#Property Value
Type | Description |
---|---|
Date |
A Date |
#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.
#Examples
The following example shows how to set the date editor's current, maximum and minimum values.
<dxe:DateEdit DateTime="11/12/2009" MaxValue="12/31/2010" MinValue="01/01/2008"/>
See Also