Skip to main content

CalendarControlBase.DateTime Property

Gets or sets the edit value (current date). This value is in sync with the CalendarControlBase.EditValue property.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.2.dll

Declaration

[DXCategory("Appearance")]
public virtual DateTime DateTime { get; set; }

Property Value

Type Description
DateTime

The edit value.

Remarks

See CalendarControlBase.EditValue to learn more.

The following code snippet (auto-collected from DevExpress Examples) contains a reference 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