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

DateEdit() Constructor

Initializes a new DateEdit class instance with default settings.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v18.2.dll

Declaration

public DateEdit()

Remarks

The constructor creates a new instance of the DateEdit class and initializes its properties to their default values. The editor’s edit value is set to the current date. To change the selected date, see the DateEdit.DateTime property.

To create a date editor for in-place editing (for use in the Grid Control or other DevExpress container controls) you should create a corresponding repository item (RepositoryItemDateEdit) and assign it to a specific grid column.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DateEdit() constructor.

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