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

DateEdit.DateTime Property

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

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v19.2.dll

Declaration

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the DateTime property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also