Back to Devexpress

DateEdit() Constructor

windowsforms-devexpress-dot-xtraeditors-dot-dateedit-dot-ctor-16d98391.md

latest1.6 KB
Original Source

DateEdit() Constructor

Initializes a new DateEdit class instance with default settings.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public DateEdit()
vb
Public Sub New

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.

See Also

RepositoryItemDateEdit

DateEdit Class

DateEdit Members

DevExpress.XtraEditors Namespace